From 17fb47d34044525cb240873eddea4e4271ccadb9 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Fri, 8 Jun 2018 00:35:54 +0000 Subject: [PATCH] Autogenerated update (2018-06-08) Update: - androidpublisher_v2 - container_v1beta1 - content_v2 - datastore_v1 - datastore_v1beta1 - datastore_v1beta3 - firestore_v1beta1 - genomics_v1 - genomics_v1alpha2 - genomics_v2alpha1 - logging_v2 - logging_v2beta1 - monitoring_v3 - poly_v1 - testing_v1 --- api_names_out.yaml | 43 ++++++ generated/google/apis/androidpublisher_v2.rb | 2 +- .../apis/androidpublisher_v2/classes.rb | 9 ++ .../androidpublisher_v2/representations.rb | 1 + generated/google/apis/container_v1beta1.rb | 2 +- .../google/apis/container_v1beta1/classes.rb | 88 +++++++++++ .../apis/container_v1beta1/representations.rb | 36 +++++ generated/google/apis/content_v2.rb | 2 +- generated/google/apis/content_v2/classes.rb | 140 ++++++++++++++++++ .../google/apis/content_v2/representations.rb | 64 ++++++++ generated/google/apis/content_v2/service.rb | 79 ++++++++++ generated/google/apis/datastore_v1.rb | 2 +- generated/google/apis/datastore_v1beta1.rb | 2 +- generated/google/apis/datastore_v1beta3.rb | 2 +- generated/google/apis/firestore_v1beta1.rb | 2 +- generated/google/apis/genomics_v1.rb | 2 +- generated/google/apis/genomics_v1alpha2.rb | 2 +- generated/google/apis/genomics_v2alpha1.rb | 2 +- .../google/apis/genomics_v2alpha1/classes.rb | 11 +- generated/google/apis/iamcredentials_v1.rb | 31 ++++ .../google/apis/iamcredentials_v1/classes.rb | 26 ++++ .../apis/iamcredentials_v1/representations.rb | 26 ++++ .../google/apis/iamcredentials_v1/service.rb | 59 ++++++++ generated/google/apis/logging_v2.rb | 2 +- generated/google/apis/logging_v2beta1.rb | 2 +- generated/google/apis/monitoring_v3.rb | 2 +- .../google/apis/monitoring_v3/classes.rb | 3 +- generated/google/apis/poly_v1.rb | 2 +- generated/google/apis/poly_v1/classes.rb | 10 ++ .../google/apis/poly_v1/representations.rb | 1 + generated/google/apis/testing_v1.rb | 2 +- 31 files changed, 638 insertions(+), 19 deletions(-) create mode 100644 generated/google/apis/iamcredentials_v1.rb create mode 100644 generated/google/apis/iamcredentials_v1/classes.rb create mode 100644 generated/google/apis/iamcredentials_v1/representations.rb create mode 100644 generated/google/apis/iamcredentials_v1/service.rb diff --git a/api_names_out.yaml b/api_names_out.yaml index ba21428e0..4ae0f109d 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -6763,6 +6763,7 @@ "/androidpublisher:v2/InAppProduct": in_app_product "/androidpublisher:v2/InAppProduct/defaultLanguage": default_language "/androidpublisher:v2/InAppProduct/defaultPrice": default_price +"/androidpublisher:v2/InAppProduct/gracePeriod": grace_period "/androidpublisher:v2/InAppProduct/listings": listings "/androidpublisher:v2/InAppProduct/listings/listing": listing "/androidpublisher:v2/InAppProduct/packageName": package_name @@ -32829,6 +32830,11 @@ "/container:v1beta1/MasterAuthorizedNetworksConfig/cidrBlocks": cidr_blocks "/container:v1beta1/MasterAuthorizedNetworksConfig/cidrBlocks/cidr_block": cidr_block "/container:v1beta1/MasterAuthorizedNetworksConfig/enabled": enabled +"/container:v1beta1/Metric": metric +"/container:v1beta1/Metric/doubleValue": double_value +"/container:v1beta1/Metric/intValue": int_value +"/container:v1beta1/Metric/name": name +"/container:v1beta1/Metric/stringValue": string_value "/container:v1beta1/NetworkConfig": network_config "/container:v1beta1/NetworkConfig/network": network "/container:v1beta1/NetworkConfig/subnetwork": subnetwork @@ -32889,12 +32895,20 @@ "/container:v1beta1/Operation/location": location "/container:v1beta1/Operation/name": name "/container:v1beta1/Operation/operationType": operation_type +"/container:v1beta1/Operation/progress": progress "/container:v1beta1/Operation/selfLink": self_link "/container:v1beta1/Operation/startTime": start_time "/container:v1beta1/Operation/status": status "/container:v1beta1/Operation/statusMessage": status_message "/container:v1beta1/Operation/targetLink": target_link "/container:v1beta1/Operation/zone": zone +"/container:v1beta1/OperationProgress": operation_progress +"/container:v1beta1/OperationProgress/metrics": metrics +"/container:v1beta1/OperationProgress/metrics/metric": metric +"/container:v1beta1/OperationProgress/name": name +"/container:v1beta1/OperationProgress/stages": stages +"/container:v1beta1/OperationProgress/stages/stage": stage +"/container:v1beta1/OperationProgress/status": status "/container:v1beta1/PodSecurityPolicyConfig": pod_security_policy_config "/container:v1beta1/PodSecurityPolicyConfig/enabled": enabled "/container:v1beta1/RollbackNodePoolUpgradeRequest": rollback_node_pool_upgrade_request @@ -33427,6 +33441,10 @@ "/content:v2/CarriersCarrier/name": name "/content:v2/CarriersCarrier/services": services "/content:v2/CarriersCarrier/services/service": service +"/content:v2/CutoffTime": cutoff_time +"/content:v2/CutoffTime/hour": hour +"/content:v2/CutoffTime/minute": minute +"/content:v2/CutoffTime/timezone": timezone "/content:v2/Datafeed": datafeed "/content:v2/Datafeed/attributeLanguage": attribute_language "/content:v2/Datafeed/contentLanguage": content_language @@ -33534,9 +33552,12 @@ "/content:v2/DatafeedstatusesListResponse/resources": resources "/content:v2/DatafeedstatusesListResponse/resources/resource": resource "/content:v2/DeliveryTime": delivery_time +"/content:v2/DeliveryTime/cutoffTime": cutoff_time "/content:v2/DeliveryTime/holidayCutoffs": holiday_cutoffs "/content:v2/DeliveryTime/holidayCutoffs/holiday_cutoff": holiday_cutoff +"/content:v2/DeliveryTime/maxHandlingTimeInDays": max_handling_time_in_days "/content:v2/DeliveryTime/maxTransitTimeInDays": max_transit_time_in_days +"/content:v2/DeliveryTime/minHandlingTimeInDays": min_handling_time_in_days "/content:v2/DeliveryTime/minTransitTimeInDays": min_transit_time_in_days "/content:v2/Error": error "/content:v2/Error/domain": domain @@ -33647,6 +33668,7 @@ "/content:v2/LiaCountrySettings/hostedLocalStorefrontActive": hosted_local_storefront_active "/content:v2/LiaCountrySettings/inventory": inventory "/content:v2/LiaCountrySettings/onDisplayToOrder": on_display_to_order +"/content:v2/LiaCountrySettings/posDataProvider": pos_data_provider "/content:v2/LiaCountrySettings/storePickupActive": store_pickup_active "/content:v2/LiaInventorySettings": lia_inventory_settings "/content:v2/LiaInventorySettings/inventoryVerificationContactEmail": inventory_verification_contact_email @@ -33656,6 +33678,9 @@ "/content:v2/LiaOnDisplayToOrderSettings": lia_on_display_to_order_settings "/content:v2/LiaOnDisplayToOrderSettings/shippingCostPolicyUrl": shipping_cost_policy_url "/content:v2/LiaOnDisplayToOrderSettings/status": status +"/content:v2/LiaPosDataProvider": lia_pos_data_provider +"/content:v2/LiaPosDataProvider/posDataProviderId": pos_data_provider_id +"/content:v2/LiaPosDataProvider/posExternalAccountId": pos_external_account_id "/content:v2/LiaSettings": lia_settings "/content:v2/LiaSettings/accountId": account_id "/content:v2/LiaSettings/countrySettings": country_settings @@ -33696,6 +33721,10 @@ "/content:v2/LiasettingsGetAccessibleGmbAccountsResponse/gmbAccounts": gmb_accounts "/content:v2/LiasettingsGetAccessibleGmbAccountsResponse/gmbAccounts/gmb_account": gmb_account "/content:v2/LiasettingsGetAccessibleGmbAccountsResponse/kind": kind +"/content:v2/LiasettingsListPosDataProvidersResponse": liasettings_list_pos_data_providers_response +"/content:v2/LiasettingsListPosDataProvidersResponse/kind": kind +"/content:v2/LiasettingsListPosDataProvidersResponse/posDataProviders": pos_data_providers +"/content:v2/LiasettingsListPosDataProvidersResponse/posDataProviders/pos_data_provider": pos_data_provider "/content:v2/LiasettingsListResponse": liasettings_list_response "/content:v2/LiasettingsListResponse/kind": kind "/content:v2/LiasettingsListResponse/nextPageToken": next_page_token @@ -33707,6 +33736,8 @@ "/content:v2/LiasettingsRequestInventoryVerificationResponse/kind": kind "/content:v2/LiasettingsSetInventoryVerificationContactResponse": liasettings_set_inventory_verification_contact_response "/content:v2/LiasettingsSetInventoryVerificationContactResponse/kind": kind +"/content:v2/LiasettingsSetPosDataProviderResponse": liasettings_set_pos_data_provider_response +"/content:v2/LiasettingsSetPosDataProviderResponse/kind": kind "/content:v2/LocationIdSet": location_id_set "/content:v2/LocationIdSet/locationIds": location_ids "/content:v2/LocationIdSet/locationIds/location_id": location_id @@ -34517,6 +34548,7 @@ "/content:v2/RateGroup/carrierRates": carrier_rates "/content:v2/RateGroup/carrierRates/carrier_rate": carrier_rate "/content:v2/RateGroup/mainTable": main_table +"/content:v2/RateGroup/name": name "/content:v2/RateGroup/singleValue": single_value "/content:v2/RateGroup/subtables": subtables "/content:v2/RateGroup/subtables/subtable": subtable @@ -34780,6 +34812,7 @@ "/content:v2/content.liasettings.list/maxResults": max_results "/content:v2/content.liasettings.list/merchantId": merchant_id "/content:v2/content.liasettings.list/pageToken": page_token +"/content:v2/content.liasettings.listposdataproviders": listposdataproviders_liasetting "/content:v2/content.liasettings.patch": patch_liasetting "/content:v2/content.liasettings.patch/accountId": account_id "/content:v2/content.liasettings.patch/dryRun": dry_run @@ -34799,6 +34832,12 @@ "/content:v2/content.liasettings.setinventoryverificationcontact/country": country "/content:v2/content.liasettings.setinventoryverificationcontact/language": language "/content:v2/content.liasettings.setinventoryverificationcontact/merchantId": merchant_id +"/content:v2/content.liasettings.setposdataprovider": setposdataprovider_liasetting +"/content:v2/content.liasettings.setposdataprovider/accountId": account_id +"/content:v2/content.liasettings.setposdataprovider/country": country +"/content:v2/content.liasettings.setposdataprovider/merchantId": merchant_id +"/content:v2/content.liasettings.setposdataprovider/posDataProviderId": pos_data_provider_id +"/content:v2/content.liasettings.setposdataprovider/posExternalAccountId": pos_external_account_id "/content:v2/content.liasettings.update": update_liasetting "/content:v2/content.liasettings.update/accountId": account_id "/content:v2/content.liasettings.update/dryRun": dry_run @@ -60126,6 +60165,9 @@ "/iam:v1/iam.roles.queryGrantableRoles": query_grantable_roles "/iam:v1/key": key "/iam:v1/quotaUser": quota_user +"/iamcredentials:v1/fields": fields +"/iamcredentials:v1/key": key +"/iamcredentials:v1/quotaUser": quota_user "/identitytoolkit:v3/CreateAuthUriResponse": create_auth_uri_response "/identitytoolkit:v3/CreateAuthUriResponse/allProviders": all_providers "/identitytoolkit:v3/CreateAuthUriResponse/allProviders/all_provider": all_provider @@ -66184,6 +66226,7 @@ "/poly:v1/ObjParseError/lineNumber": line_number "/poly:v1/ObjParseError/startIndex": start_index "/poly:v1/PresentationParams": presentation_params +"/poly:v1/PresentationParams/backgroundColor": background_color "/poly:v1/PresentationParams/colorSpace": color_space "/poly:v1/PresentationParams/orientingRotation": orienting_rotation "/poly:v1/Quaternion": quaternion diff --git a/generated/google/apis/androidpublisher_v2.rb b/generated/google/apis/androidpublisher_v2.rb index 03551f719..82b3d3f95 100644 --- a/generated/google/apis/androidpublisher_v2.rb +++ b/generated/google/apis/androidpublisher_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android-publisher module AndroidpublisherV2 VERSION = 'V2' - REVISION = '20180528' + REVISION = '20180605' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/androidpublisher_v2/classes.rb b/generated/google/apis/androidpublisher_v2/classes.rb index 880e8b590..d2f935269 100644 --- a/generated/google/apis/androidpublisher_v2/classes.rb +++ b/generated/google/apis/androidpublisher_v2/classes.rb @@ -769,6 +769,14 @@ module Google # @return [Google::Apis::AndroidpublisherV2::Price] attr_accessor :default_price + # Grace period of the subscription, specified in ISO 8601 format. It will allow + # developers to give their subscribers a grace period when the payment for the + # new recurrence period is declined. Acceptable values = "P3D" (three days) and " + # P7D" (seven days) + # Corresponds to the JSON property `gracePeriod` + # @return [String] + attr_accessor :grace_period + # List of localized title and description data. # Corresponds to the JSON property `listings` # @return [Hash] @@ -828,6 +836,7 @@ module Google def update!(**args) @default_language = args[:default_language] if args.key?(:default_language) @default_price = args[:default_price] if args.key?(:default_price) + @grace_period = args[:grace_period] if args.key?(:grace_period) @listings = args[:listings] if args.key?(:listings) @package_name = args[:package_name] if args.key?(:package_name) @prices = args[:prices] if args.key?(:prices) diff --git a/generated/google/apis/androidpublisher_v2/representations.rb b/generated/google/apis/androidpublisher_v2/representations.rb index 2274ef94b..d92e0f218 100644 --- a/generated/google/apis/androidpublisher_v2/representations.rb +++ b/generated/google/apis/androidpublisher_v2/representations.rb @@ -571,6 +571,7 @@ module Google property :default_language, as: 'defaultLanguage' property :default_price, as: 'defaultPrice', class: Google::Apis::AndroidpublisherV2::Price, decorator: Google::Apis::AndroidpublisherV2::Price::Representation + property :grace_period, as: 'gracePeriod' hash :listings, as: 'listings', class: Google::Apis::AndroidpublisherV2::InAppProductListing, decorator: Google::Apis::AndroidpublisherV2::InAppProductListing::Representation property :package_name, as: 'packageName' diff --git a/generated/google/apis/container_v1beta1.rb b/generated/google/apis/container_v1beta1.rb index 00723967c..8c2fb937f 100644 --- a/generated/google/apis/container_v1beta1.rb +++ b/generated/google/apis/container_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/container-engine/ module ContainerV1beta1 VERSION = 'V1beta1' - REVISION = '20180518' + REVISION = '20180524' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/container_v1beta1/classes.rb b/generated/google/apis/container_v1beta1/classes.rb index 313904f7a..7e7874c2e 100644 --- a/generated/google/apis/container_v1beta1/classes.rb +++ b/generated/google/apis/container_v1beta1/classes.rb @@ -1400,6 +1400,44 @@ module Google end end + # Progress metric is (string, int|float|string) pair. + class Metric + include Google::Apis::Core::Hashable + + # For metrics with floating point value. + # Corresponds to the JSON property `doubleValue` + # @return [Float] + attr_accessor :double_value + + # For metrics with integer value. + # Corresponds to the JSON property `intValue` + # @return [Fixnum] + attr_accessor :int_value + + # Metric name, required. + # e.g., "nodes total", "percent done" + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # For metrics with custom values (ratios, visual progress, etc.). + # Corresponds to the JSON property `stringValue` + # @return [String] + attr_accessor :string_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @double_value = args[:double_value] if args.key?(:double_value) + @int_value = args[:int_value] if args.key?(:int_value) + @name = args[:name] if args.key?(:name) + @string_value = args[:string_value] if args.key?(:string_value) + end + end + # NetworkConfig reports the relative names of network & subnetwork. class NetworkConfig include Google::Apis::Core::Hashable @@ -1871,6 +1909,11 @@ module Google # @return [String] attr_accessor :operation_type + # Information about operation (or operation stage) progress. + # Corresponds to the JSON property `progress` + # @return [Google::Apis::ContainerV1beta1::OperationProgress] + attr_accessor :progress + # Server-defined URL for the resource. # Corresponds to the JSON property `selfLink` # @return [String] @@ -1916,6 +1959,7 @@ module Google @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) @operation_type = args[:operation_type] if args.key?(:operation_type) + @progress = args[:progress] if args.key?(:progress) @self_link = args[:self_link] if args.key?(:self_link) @start_time = args[:start_time] if args.key?(:start_time) @status = args[:status] if args.key?(:status) @@ -1925,6 +1969,50 @@ module Google end end + # Information about operation (or operation stage) progress. + class OperationProgress + include Google::Apis::Core::Hashable + + # Progress metric bundle, for example: + # metrics: [`name: "nodes done", int_value: 15`, + # `name: "nodes total", int_value: 32`] + # or + # metrics: [`name: "progress", double_value: 0.56`, + # `name: "progress scale", double_value: 1.0`] + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + # A non-parameterized string describing an operation stage. + # Unset for single-stage operations. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Substages of an operation or a stage. + # Corresponds to the JSON property `stages` + # @return [Array] + attr_accessor :stages + + # Status of an operation stage. + # Unset for single-stage operations. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metrics = args[:metrics] if args.key?(:metrics) + @name = args[:name] if args.key?(:name) + @stages = args[:stages] if args.key?(:stages) + @status = args[:status] if args.key?(:status) + end + end + # Configuration for the PodSecurityPolicy feature. class PodSecurityPolicyConfig include Google::Apis::Core::Hashable diff --git a/generated/google/apis/container_v1beta1/representations.rb b/generated/google/apis/container_v1beta1/representations.rb index d4f6076e1..ee9cff6ad 100644 --- a/generated/google/apis/container_v1beta1/representations.rb +++ b/generated/google/apis/container_v1beta1/representations.rb @@ -196,6 +196,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Metric + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class NetworkConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -250,6 +256,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class OperationProgress + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class PodSecurityPolicyConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -703,6 +715,16 @@ module Google end end + class Metric + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :double_value, as: 'doubleValue' + property :int_value, :numeric_string => true, as: 'intValue' + property :name, as: 'name' + property :string_value, as: 'stringValue' + end + end + class NetworkConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -805,6 +827,8 @@ module Google property :location, as: 'location' property :name, as: 'name' property :operation_type, as: 'operationType' + property :progress, as: 'progress', class: Google::Apis::ContainerV1beta1::OperationProgress, decorator: Google::Apis::ContainerV1beta1::OperationProgress::Representation + property :self_link, as: 'selfLink' property :start_time, as: 'startTime' property :status, as: 'status' @@ -814,6 +838,18 @@ module Google end end + class OperationProgress + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :metrics, as: 'metrics', class: Google::Apis::ContainerV1beta1::Metric, decorator: Google::Apis::ContainerV1beta1::Metric::Representation + + property :name, as: 'name' + collection :stages, as: 'stages', class: Google::Apis::ContainerV1beta1::OperationProgress, decorator: Google::Apis::ContainerV1beta1::OperationProgress::Representation + + property :status, as: 'status' + end + end + class PodSecurityPolicyConfig # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/content_v2.rb b/generated/google/apis/content_v2.rb index a7672390c..786903c73 100644 --- a/generated/google/apis/content_v2.rb +++ b/generated/google/apis/content_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/shopping-content module ContentV2 VERSION = 'V2' - REVISION = '20180529' + REVISION = '20180605' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2/classes.rb b/generated/google/apis/content_v2/classes.rb index 58e1c2fa7..3435f26e4 100644 --- a/generated/google/apis/content_v2/classes.rb +++ b/generated/google/apis/content_v2/classes.rb @@ -1204,6 +1204,40 @@ module Google end end + # + class CutoffTime + include Google::Apis::Core::Hashable + + # Hour of the cutoff time until which an order has to be placed to be processed + # in the same day. Required. + # Corresponds to the JSON property `hour` + # @return [Fixnum] + attr_accessor :hour + + # Minute of the cutoff time until which an order has to be placed to be + # processed in the same day. Required. + # Corresponds to the JSON property `minute` + # @return [Fixnum] + attr_accessor :minute + + # Timezone identifier for the cutoff time. A list of identifiers can be found in + # the AdWords API documentation. E.g. "Europe/Zurich". Required. + # Corresponds to the JSON property `timezone` + # @return [String] + attr_accessor :timezone + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @hour = args[:hour] if args.key?(:hour) + @minute = args[:minute] if args.key?(:minute) + @timezone = args[:timezone] if args.key?(:timezone) + end + end + # Datafeed configuration data. class Datafeed include Google::Apis::Core::Hashable @@ -1931,12 +1965,25 @@ module Google class DeliveryTime include Google::Apis::Core::Hashable + # Business days cutoff time definition. If not configured the cutoff time will + # be defaulted to 8AM PST. + # Corresponds to the JSON property `cutoffTime` + # @return [Google::Apis::ContentV2::CutoffTime] + attr_accessor :cutoff_time + # Holiday cutoff definitions. If configured, they specify order cutoff times for # holiday-specific shipping. # Corresponds to the JSON property `holidayCutoffs` # @return [Array] attr_accessor :holiday_cutoffs + # Maximum number of business days spent before an order is shipped. 0 means same + # day shipped, 1 means next day shipped. Must be greater than or equal to + # minHandlingTimeInDays. + # Corresponds to the JSON property `maxHandlingTimeInDays` + # @return [Fixnum] + attr_accessor :max_handling_time_in_days + # Maximum number of business days that is spent in transit. 0 means same day # delivery, 1 means next day delivery. Must be greater than or equal to # minTransitTimeInDays. Required. @@ -1944,6 +1991,12 @@ module Google # @return [Fixnum] attr_accessor :max_transit_time_in_days + # Minimum number of business days spent before an order is shipped. 0 means same + # day shipped, 1 means next day shipped. + # Corresponds to the JSON property `minHandlingTimeInDays` + # @return [Fixnum] + attr_accessor :min_handling_time_in_days + # Minimum number of business days that is spent in transit. 0 means same day # delivery, 1 means next day delivery. Required. # Corresponds to the JSON property `minTransitTimeInDays` @@ -1956,8 +2009,11 @@ module Google # Update properties of this object def update!(**args) + @cutoff_time = args[:cutoff_time] if args.key?(:cutoff_time) @holiday_cutoffs = args[:holiday_cutoffs] if args.key?(:holiday_cutoffs) + @max_handling_time_in_days = args[:max_handling_time_in_days] if args.key?(:max_handling_time_in_days) @max_transit_time_in_days = args[:max_transit_time_in_days] if args.key?(:max_transit_time_in_days) + @min_handling_time_in_days = args[:min_handling_time_in_days] if args.key?(:min_handling_time_in_days) @min_transit_time_in_days = args[:min_transit_time_in_days] if args.key?(:min_transit_time_in_days) end end @@ -2737,6 +2793,11 @@ module Google # @return [Google::Apis::ContentV2::LiaOnDisplayToOrderSettings] attr_accessor :on_display_to_order + # The POS data provider linked with this country. + # Corresponds to the JSON property `posDataProvider` + # @return [Google::Apis::ContentV2::LiaPosDataProvider] + attr_accessor :pos_data_provider + # The status of the "Store pickup" feature. # Corresponds to the JSON property `storePickupActive` # @return [Boolean] @@ -2754,6 +2815,7 @@ module Google @hosted_local_storefront_active = args[:hosted_local_storefront_active] if args.key?(:hosted_local_storefront_active) @inventory = args[:inventory] if args.key?(:inventory) @on_display_to_order = args[:on_display_to_order] if args.key?(:on_display_to_order) + @pos_data_provider = args[:pos_data_provider] if args.key?(:pos_data_provider) @store_pickup_active = args[:store_pickup_active] if args.key?(:store_pickup_active) end end @@ -2820,6 +2882,31 @@ module Google end end + # + class LiaPosDataProvider + include Google::Apis::Core::Hashable + + # The ID of the POS data provider. + # Corresponds to the JSON property `posDataProviderId` + # @return [Fixnum] + attr_accessor :pos_data_provider_id + + # The account ID by which this merchant is known to the POS data provider. + # Corresponds to the JSON property `posExternalAccountId` + # @return [String] + attr_accessor :pos_external_account_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @pos_data_provider_id = args[:pos_data_provider_id] if args.key?(:pos_data_provider_id) + @pos_external_account_id = args[:pos_external_account_id] if args.key?(:pos_external_account_id) + end + end + # class LiaSettings include Google::Apis::Core::Hashable @@ -3061,6 +3148,32 @@ module Google end end + # + class LiasettingsListPosDataProvidersResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string "content# + # liasettingsListPosDataProvidersResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The list of POS data providers for each eligible country + # Corresponds to the JSON property `posDataProviders` + # @return [Array] + attr_accessor :pos_data_providers + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @pos_data_providers = args[:pos_data_providers] if args.key?(:pos_data_providers) + end + end + # class LiasettingsListResponse include Google::Apis::Core::Hashable @@ -3153,6 +3266,26 @@ module Google end end + # + class LiasettingsSetPosDataProviderResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string "content# + # liasettingsSetPosDataProviderResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + end + end + # class LocationIdSet include Google::Apis::Core::Hashable @@ -8728,6 +8861,12 @@ module Google # @return [Google::Apis::ContentV2::Table] attr_accessor :main_table + # Name of the rate group. Optional. If set has to be unique within shipping + # service. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + # The single value of a rate group or the value of a rate group table's cell. # Exactly one of noShipping, flatRate, pricePercentage, carrierRateName, # subtableName must be set. @@ -8750,6 +8889,7 @@ module Google @applicable_shipping_labels = args[:applicable_shipping_labels] if args.key?(:applicable_shipping_labels) @carrier_rates = args[:carrier_rates] if args.key?(:carrier_rates) @main_table = args[:main_table] if args.key?(:main_table) + @name = args[:name] if args.key?(:name) @single_value = args[:single_value] if args.key?(:single_value) @subtables = args[:subtables] if args.key?(:subtables) end diff --git a/generated/google/apis/content_v2/representations.rb b/generated/google/apis/content_v2/representations.rb index e43ba5f12..6bd4b3ca0 100644 --- a/generated/google/apis/content_v2/representations.rb +++ b/generated/google/apis/content_v2/representations.rb @@ -214,6 +214,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class CutoffTime + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Datafeed class Representation < Google::Apis::Core::JsonRepresentation; end @@ -460,6 +466,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class LiaPosDataProvider + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class LiaSettings class Representation < Google::Apis::Core::JsonRepresentation; end @@ -496,6 +508,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class LiasettingsListPosDataProvidersResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class LiasettingsListResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -520,6 +538,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class LiasettingsSetPosDataProviderResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class LocationIdSet class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1769,6 +1793,15 @@ module Google end end + class CutoffTime + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :hour, as: 'hour' + property :minute, as: 'minute' + property :timezone, as: 'timezone' + end + end + class Datafeed # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1972,9 +2005,13 @@ module Google class DeliveryTime # @private class Representation < Google::Apis::Core::JsonRepresentation + property :cutoff_time, as: 'cutoffTime', class: Google::Apis::ContentV2::CutoffTime, decorator: Google::Apis::ContentV2::CutoffTime::Representation + collection :holiday_cutoffs, as: 'holidayCutoffs', class: Google::Apis::ContentV2::HolidayCutoff, decorator: Google::Apis::ContentV2::HolidayCutoff::Representation + property :max_handling_time_in_days, as: 'maxHandlingTimeInDays' property :max_transit_time_in_days, as: 'maxTransitTimeInDays' + property :min_handling_time_in_days, as: 'minHandlingTimeInDays' property :min_transit_time_in_days, as: 'minTransitTimeInDays' end end @@ -2204,6 +2241,8 @@ module Google property :on_display_to_order, as: 'onDisplayToOrder', class: Google::Apis::ContentV2::LiaOnDisplayToOrderSettings, decorator: Google::Apis::ContentV2::LiaOnDisplayToOrderSettings::Representation + property :pos_data_provider, as: 'posDataProvider', class: Google::Apis::ContentV2::LiaPosDataProvider, decorator: Google::Apis::ContentV2::LiaPosDataProvider::Representation + property :store_pickup_active, as: 'storePickupActive' end end @@ -2226,6 +2265,14 @@ module Google end end + class LiaPosDataProvider + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :pos_data_provider_id, :numeric_string => true, as: 'posDataProviderId' + property :pos_external_account_id, as: 'posExternalAccountId' + end + end + class LiaSettings # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2297,6 +2344,15 @@ module Google end end + class LiasettingsListPosDataProvidersResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :pos_data_providers, as: 'posDataProviders', class: Google::Apis::ContentV2::PosDataProviders, decorator: Google::Apis::ContentV2::PosDataProviders::Representation + + end + end + class LiasettingsListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2328,6 +2384,13 @@ module Google end end + class LiasettingsSetPosDataProviderResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + end + end + class LocationIdSet # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3845,6 +3908,7 @@ module Google property :main_table, as: 'mainTable', class: Google::Apis::ContentV2::Table, decorator: Google::Apis::ContentV2::Table::Representation + property :name, as: 'name' property :single_value, as: 'singleValue', class: Google::Apis::ContentV2::Value, decorator: Google::Apis::ContentV2::Value::Representation collection :subtables, as: 'subtables', class: Google::Apis::ContentV2::Table, decorator: Google::Apis::ContentV2::Table::Representation diff --git a/generated/google/apis/content_v2/service.rb b/generated/google/apis/content_v2/service.rb index c9aef4071..12086a6fa 100644 --- a/generated/google/apis/content_v2/service.rb +++ b/generated/google/apis/content_v2/service.rb @@ -1404,6 +1404,37 @@ module Google execute_or_queue_command(command, &block) end + # Retrieves the list of POS data providers that have active settings for the all + # eiligible countries. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def listposdataproviders_liasetting(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'liasettings/posdataproviders', options) + command.response_representation = Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse::Representation + command.response_class = Google::Apis::ContentV2::LiasettingsListPosDataProvidersResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Updates the LIA settings of the account. This method supports patch semantics. # @param [Fixnum] merchant_id # The ID of the managing account. If this parameter is not the same as accountId, @@ -1582,6 +1613,54 @@ module Google execute_or_queue_command(command, &block) end + # Sets the POS data provider for the specified country. + # @param [Fixnum] merchant_id + # The ID of the managing account. If this parameter is not the same as accountId, + # then this account must be a multi-client account and accountId must be the ID + # of a sub-account of this account. + # @param [Fixnum] account_id + # The ID of the account for which to retrieve accessible Google My Business + # accounts. + # @param [String] country + # The country for which the POS data provider is selected. + # @param [Fixnum] pos_data_provider_id + # The ID of POS data provider. + # @param [String] pos_external_account_id + # The account ID by which this merchant is known to the POS data provider. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def setposdataprovider_liasetting(merchant_id, account_id, country: nil, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setposdataprovider', options) + command.response_representation = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse::Representation + command.response_class = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse + command.params['merchantId'] = merchant_id unless merchant_id.nil? + command.params['accountId'] = account_id unless account_id.nil? + command.query['country'] = country unless country.nil? + command.query['posDataProviderId'] = pos_data_provider_id unless pos_data_provider_id.nil? + command.query['posExternalAccountId'] = pos_external_account_id unless pos_external_account_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Updates the LIA settings of the account. # @param [Fixnum] merchant_id # The ID of the managing account. If this parameter is not the same as accountId, diff --git a/generated/google/apis/datastore_v1.rb b/generated/google/apis/datastore_v1.rb index 5303c35c6..d2122dce6 100644 --- a/generated/google/apis/datastore_v1.rb +++ b/generated/google/apis/datastore_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/datastore/ module DatastoreV1 VERSION = 'V1' - REVISION = '20180417' + REVISION = '20180605' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/datastore_v1beta1.rb b/generated/google/apis/datastore_v1beta1.rb index d175c110c..73e086090 100644 --- a/generated/google/apis/datastore_v1beta1.rb +++ b/generated/google/apis/datastore_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/datastore/ module DatastoreV1beta1 VERSION = 'V1beta1' - REVISION = '20180417' + REVISION = '20180605' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/datastore_v1beta3.rb b/generated/google/apis/datastore_v1beta3.rb index 0f3bd3d8a..e1367eea1 100644 --- a/generated/google/apis/datastore_v1beta3.rb +++ b/generated/google/apis/datastore_v1beta3.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/datastore/ module DatastoreV1beta3 VERSION = 'V1beta3' - REVISION = '20180417' + REVISION = '20180605' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/firestore_v1beta1.rb b/generated/google/apis/firestore_v1beta1.rb index ff79c39fd..d460ff23e 100644 --- a/generated/google/apis/firestore_v1beta1.rb +++ b/generated/google/apis/firestore_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/firestore module FirestoreV1beta1 VERSION = 'V1beta1' - REVISION = '20180418' + REVISION = '20180605' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/genomics_v1.rb b/generated/google/apis/genomics_v1.rb index a453263de..bf92a6925 100644 --- a/generated/google/apis/genomics_v1.rb +++ b/generated/google/apis/genomics_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/genomics module GenomicsV1 VERSION = 'V1' - REVISION = '20180501' + REVISION = '20180607' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/genomics_v1alpha2.rb b/generated/google/apis/genomics_v1alpha2.rb index 7151dfe77..f4c7ce035 100644 --- a/generated/google/apis/genomics_v1alpha2.rb +++ b/generated/google/apis/genomics_v1alpha2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/genomics module GenomicsV1alpha2 VERSION = 'V1alpha2' - REVISION = '20180501' + REVISION = '20180607' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/genomics_v2alpha1.rb b/generated/google/apis/genomics_v2alpha1.rb index 56c8e4c8b..c88458b19 100644 --- a/generated/google/apis/genomics_v2alpha1.rb +++ b/generated/google/apis/genomics_v2alpha1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/genomics module GenomicsV2alpha1 VERSION = 'V2alpha1' - REVISION = '20180601' + REVISION = '20180607' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/genomics_v2alpha1/classes.rb b/generated/google/apis/genomics_v2alpha1/classes.rb index 9741feced..0af8dd60e 100644 --- a/generated/google/apis/genomics_v2alpha1/classes.rb +++ b/generated/google/apis/genomics_v2alpha1/classes.rb @@ -705,14 +705,21 @@ module Google class Network include Google::Apis::Core::Hashable - # The network name to attach the VM's network interface to. If unspecified, - # the global default network is used. + # The network name to attach the VM's network interface to. The value will + # be prefixed with "global/networks/" unless it contains a "/" in which case + # it is assumed to be a fully specified network resource URL. + # If unspecified, the global default network is used. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name # If the specified network is configured for custom subnet creation, the # name of the subnetwork to attach the instance to must be specified here. + # The value is prefixed with "regions/*/subnetworks/" unless it contains a + # "/" in which case it is assumed to be a full specified subnetwork resource + # URL. + # If the '*' character appears in the value, it is replaced with the region + # that the virtual machine has been allocated in. # Corresponds to the JSON property `subnetwork` # @return [String] attr_accessor :subnetwork diff --git a/generated/google/apis/iamcredentials_v1.rb b/generated/google/apis/iamcredentials_v1.rb new file mode 100644 index 000000000..d3321c3ef --- /dev/null +++ b/generated/google/apis/iamcredentials_v1.rb @@ -0,0 +1,31 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/iamcredentials_v1/service.rb' +require 'google/apis/iamcredentials_v1/classes.rb' +require 'google/apis/iamcredentials_v1/representations.rb' + +module Google + module Apis + # IAM Service Account Credentials API + # + # IAM Service Account Credentials API + # + # @see https://developers.google.com/identity/protocols/OAuth2ServiceAccount + module IamcredentialsV1 + VERSION = 'V1' + REVISION = '20180604' + end + end +end diff --git a/generated/google/apis/iamcredentials_v1/classes.rb b/generated/google/apis/iamcredentials_v1/classes.rb new file mode 100644 index 000000000..5145ec4e5 --- /dev/null +++ b/generated/google/apis/iamcredentials_v1/classes.rb @@ -0,0 +1,26 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module IamcredentialsV1 + end + end +end diff --git a/generated/google/apis/iamcredentials_v1/representations.rb b/generated/google/apis/iamcredentials_v1/representations.rb new file mode 100644 index 000000000..5145ec4e5 --- /dev/null +++ b/generated/google/apis/iamcredentials_v1/representations.rb @@ -0,0 +1,26 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module IamcredentialsV1 + end + end +end diff --git a/generated/google/apis/iamcredentials_v1/service.rb b/generated/google/apis/iamcredentials_v1/service.rb new file mode 100644 index 000000000..0324ac166 --- /dev/null +++ b/generated/google/apis/iamcredentials_v1/service.rb @@ -0,0 +1,59 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module IamcredentialsV1 + # IAM Service Account Credentials API + # + # IAM Service Account Credentials API + # + # @example + # require 'google/apis/iamcredentials_v1' + # + # Iamcredentials = Google::Apis::IamcredentialsV1 # Alias the module + # service = Iamcredentials::IAMCredentialsService.new + # + # @see https://developers.google.com/identity/protocols/OAuth2ServiceAccount + class IAMCredentialsService < Google::Apis::Core::BaseService + # @return [String] + # API key. Your API key identifies your project and provides you with API access, + # quota, and reports. Required unless you provide an OAuth 2.0 token. + attr_accessor :key + + # @return [String] + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + attr_accessor :quota_user + + def initialize + super('https://iamcredentials.googleapis.com/', '') + @batch_path = 'batch' + end + + protected + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + end + end + end + end +end diff --git a/generated/google/apis/logging_v2.rb b/generated/google/apis/logging_v2.rb index 4d96c4a97..96cf7e987 100644 --- a/generated/google/apis/logging_v2.rb +++ b/generated/google/apis/logging_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/logging/docs/ module LoggingV2 VERSION = 'V2' - REVISION = '20180531' + REVISION = '20180604' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/logging_v2beta1.rb b/generated/google/apis/logging_v2beta1.rb index 49b001836..feca9ad60 100644 --- a/generated/google/apis/logging_v2beta1.rb +++ b/generated/google/apis/logging_v2beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/logging/docs/ module LoggingV2beta1 VERSION = 'V2beta1' - REVISION = '20180424' + REVISION = '20180604' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/monitoring_v3.rb b/generated/google/apis/monitoring_v3.rb index c0abb12be..f12425bd6 100644 --- a/generated/google/apis/monitoring_v3.rb +++ b/generated/google/apis/monitoring_v3.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/monitoring/api/ module MonitoringV3 VERSION = 'V3' - REVISION = '20180529' + REVISION = '20180603' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/monitoring_v3/classes.rb b/generated/google/apis/monitoring_v3/classes.rb index a32990928..d7dd41032 100644 --- a/generated/google/apis/monitoring_v3/classes.rb +++ b/generated/google/apis/monitoring_v3/classes.rb @@ -711,8 +711,7 @@ module Google # @return [Fixnum] attr_accessor :count - # Must be in increasing order of |value| field. The current requirement enforced - # by the backend is that at most one Exemplar will fall into any bucket. + # Must be in increasing order of value field. # Corresponds to the JSON property `exemplars` # @return [Array] attr_accessor :exemplars diff --git a/generated/google/apis/poly_v1.rb b/generated/google/apis/poly_v1.rb index da94213d5..c12938f8d 100644 --- a/generated/google/apis/poly_v1.rb +++ b/generated/google/apis/poly_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/poly/ module PolyV1 VERSION = 'V1' - REVISION = '20180217' + REVISION = '20180601' end end end diff --git a/generated/google/apis/poly_v1/classes.rb b/generated/google/apis/poly_v1/classes.rb index 90e7828ba..d09346555 100644 --- a/generated/google/apis/poly_v1/classes.rb +++ b/generated/google/apis/poly_v1/classes.rb @@ -458,6 +458,15 @@ module Google class PresentationParams include Google::Apis::Core::Hashable + # A background color which could be used for displaying the 3D asset in a + # 'thumbnail' or 'palette' style view. Authors have the option to set this + # background color when publishing or editing their asset. + # This is represented as a six-digit hexademical triplet specifying the + # RGB components of the background color, e.g. #FF0000 for Red. + # Corresponds to the JSON property `backgroundColor` + # @return [String] + attr_accessor :background_color + # The materials' diffuse/albedo color. This does not apply to vertex colors # or texture maps. # Corresponds to the JSON property `colorSpace` @@ -477,6 +486,7 @@ module Google # Update properties of this object def update!(**args) + @background_color = args[:background_color] if args.key?(:background_color) @color_space = args[:color_space] if args.key?(:color_space) @orienting_rotation = args[:orienting_rotation] if args.key?(:orienting_rotation) end diff --git a/generated/google/apis/poly_v1/representations.rb b/generated/google/apis/poly_v1/representations.rb index b16f8ffb4..bcc1d8cf9 100644 --- a/generated/google/apis/poly_v1/representations.rb +++ b/generated/google/apis/poly_v1/representations.rb @@ -223,6 +223,7 @@ module Google class PresentationParams # @private class Representation < Google::Apis::Core::JsonRepresentation + property :background_color, as: 'backgroundColor' property :color_space, as: 'colorSpace' property :orienting_rotation, as: 'orientingRotation', class: Google::Apis::PolyV1::Quaternion, decorator: Google::Apis::PolyV1::Quaternion::Representation diff --git a/generated/google/apis/testing_v1.rb b/generated/google/apis/testing_v1.rb index 4856d9200..4ae23dace 100644 --- a/generated/google/apis/testing_v1.rb +++ b/generated/google/apis/testing_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/cloud-test-lab/ module TestingV1 VERSION = 'V1' - REVISION = '20180522' + REVISION = '20180606' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'