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
This commit is contained in:
Google APIs 2018-06-08 00:35:54 +00:00
parent e588859e17
commit 17fb47d340
31 changed files with 638 additions and 19 deletions

View File

@ -6763,6 +6763,7 @@
"/androidpublisher:v2/InAppProduct": in_app_product "/androidpublisher:v2/InAppProduct": in_app_product
"/androidpublisher:v2/InAppProduct/defaultLanguage": default_language "/androidpublisher:v2/InAppProduct/defaultLanguage": default_language
"/androidpublisher:v2/InAppProduct/defaultPrice": default_price "/androidpublisher:v2/InAppProduct/defaultPrice": default_price
"/androidpublisher:v2/InAppProduct/gracePeriod": grace_period
"/androidpublisher:v2/InAppProduct/listings": listings "/androidpublisher:v2/InAppProduct/listings": listings
"/androidpublisher:v2/InAppProduct/listings/listing": listing "/androidpublisher:v2/InAppProduct/listings/listing": listing
"/androidpublisher:v2/InAppProduct/packageName": package_name "/androidpublisher:v2/InAppProduct/packageName": package_name
@ -32829,6 +32830,11 @@
"/container:v1beta1/MasterAuthorizedNetworksConfig/cidrBlocks": cidr_blocks "/container:v1beta1/MasterAuthorizedNetworksConfig/cidrBlocks": cidr_blocks
"/container:v1beta1/MasterAuthorizedNetworksConfig/cidrBlocks/cidr_block": cidr_block "/container:v1beta1/MasterAuthorizedNetworksConfig/cidrBlocks/cidr_block": cidr_block
"/container:v1beta1/MasterAuthorizedNetworksConfig/enabled": enabled "/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_config
"/container:v1beta1/NetworkConfig/network": network "/container:v1beta1/NetworkConfig/network": network
"/container:v1beta1/NetworkConfig/subnetwork": subnetwork "/container:v1beta1/NetworkConfig/subnetwork": subnetwork
@ -32889,12 +32895,20 @@
"/container:v1beta1/Operation/location": location "/container:v1beta1/Operation/location": location
"/container:v1beta1/Operation/name": name "/container:v1beta1/Operation/name": name
"/container:v1beta1/Operation/operationType": operation_type "/container:v1beta1/Operation/operationType": operation_type
"/container:v1beta1/Operation/progress": progress
"/container:v1beta1/Operation/selfLink": self_link "/container:v1beta1/Operation/selfLink": self_link
"/container:v1beta1/Operation/startTime": start_time "/container:v1beta1/Operation/startTime": start_time
"/container:v1beta1/Operation/status": status "/container:v1beta1/Operation/status": status
"/container:v1beta1/Operation/statusMessage": status_message "/container:v1beta1/Operation/statusMessage": status_message
"/container:v1beta1/Operation/targetLink": target_link "/container:v1beta1/Operation/targetLink": target_link
"/container:v1beta1/Operation/zone": zone "/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": pod_security_policy_config
"/container:v1beta1/PodSecurityPolicyConfig/enabled": enabled "/container:v1beta1/PodSecurityPolicyConfig/enabled": enabled
"/container:v1beta1/RollbackNodePoolUpgradeRequest": rollback_node_pool_upgrade_request "/container:v1beta1/RollbackNodePoolUpgradeRequest": rollback_node_pool_upgrade_request
@ -33427,6 +33441,10 @@
"/content:v2/CarriersCarrier/name": name "/content:v2/CarriersCarrier/name": name
"/content:v2/CarriersCarrier/services": services "/content:v2/CarriersCarrier/services": services
"/content:v2/CarriersCarrier/services/service": service "/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": datafeed
"/content:v2/Datafeed/attributeLanguage": attribute_language "/content:v2/Datafeed/attributeLanguage": attribute_language
"/content:v2/Datafeed/contentLanguage": content_language "/content:v2/Datafeed/contentLanguage": content_language
@ -33534,9 +33552,12 @@
"/content:v2/DatafeedstatusesListResponse/resources": resources "/content:v2/DatafeedstatusesListResponse/resources": resources
"/content:v2/DatafeedstatusesListResponse/resources/resource": resource "/content:v2/DatafeedstatusesListResponse/resources/resource": resource
"/content:v2/DeliveryTime": delivery_time "/content:v2/DeliveryTime": delivery_time
"/content:v2/DeliveryTime/cutoffTime": cutoff_time
"/content:v2/DeliveryTime/holidayCutoffs": holiday_cutoffs "/content:v2/DeliveryTime/holidayCutoffs": holiday_cutoffs
"/content:v2/DeliveryTime/holidayCutoffs/holiday_cutoff": holiday_cutoff "/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/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/DeliveryTime/minTransitTimeInDays": min_transit_time_in_days
"/content:v2/Error": error "/content:v2/Error": error
"/content:v2/Error/domain": domain "/content:v2/Error/domain": domain
@ -33647,6 +33668,7 @@
"/content:v2/LiaCountrySettings/hostedLocalStorefrontActive": hosted_local_storefront_active "/content:v2/LiaCountrySettings/hostedLocalStorefrontActive": hosted_local_storefront_active
"/content:v2/LiaCountrySettings/inventory": inventory "/content:v2/LiaCountrySettings/inventory": inventory
"/content:v2/LiaCountrySettings/onDisplayToOrder": on_display_to_order "/content:v2/LiaCountrySettings/onDisplayToOrder": on_display_to_order
"/content:v2/LiaCountrySettings/posDataProvider": pos_data_provider
"/content:v2/LiaCountrySettings/storePickupActive": store_pickup_active "/content:v2/LiaCountrySettings/storePickupActive": store_pickup_active
"/content:v2/LiaInventorySettings": lia_inventory_settings "/content:v2/LiaInventorySettings": lia_inventory_settings
"/content:v2/LiaInventorySettings/inventoryVerificationContactEmail": inventory_verification_contact_email "/content:v2/LiaInventorySettings/inventoryVerificationContactEmail": inventory_verification_contact_email
@ -33656,6 +33678,9 @@
"/content:v2/LiaOnDisplayToOrderSettings": lia_on_display_to_order_settings "/content:v2/LiaOnDisplayToOrderSettings": lia_on_display_to_order_settings
"/content:v2/LiaOnDisplayToOrderSettings/shippingCostPolicyUrl": shipping_cost_policy_url "/content:v2/LiaOnDisplayToOrderSettings/shippingCostPolicyUrl": shipping_cost_policy_url
"/content:v2/LiaOnDisplayToOrderSettings/status": status "/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": lia_settings
"/content:v2/LiaSettings/accountId": account_id "/content:v2/LiaSettings/accountId": account_id
"/content:v2/LiaSettings/countrySettings": country_settings "/content:v2/LiaSettings/countrySettings": country_settings
@ -33696,6 +33721,10 @@
"/content:v2/LiasettingsGetAccessibleGmbAccountsResponse/gmbAccounts": gmb_accounts "/content:v2/LiasettingsGetAccessibleGmbAccountsResponse/gmbAccounts": gmb_accounts
"/content:v2/LiasettingsGetAccessibleGmbAccountsResponse/gmbAccounts/gmb_account": gmb_account "/content:v2/LiasettingsGetAccessibleGmbAccountsResponse/gmbAccounts/gmb_account": gmb_account
"/content:v2/LiasettingsGetAccessibleGmbAccountsResponse/kind": kind "/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": liasettings_list_response
"/content:v2/LiasettingsListResponse/kind": kind "/content:v2/LiasettingsListResponse/kind": kind
"/content:v2/LiasettingsListResponse/nextPageToken": next_page_token "/content:v2/LiasettingsListResponse/nextPageToken": next_page_token
@ -33707,6 +33736,8 @@
"/content:v2/LiasettingsRequestInventoryVerificationResponse/kind": kind "/content:v2/LiasettingsRequestInventoryVerificationResponse/kind": kind
"/content:v2/LiasettingsSetInventoryVerificationContactResponse": liasettings_set_inventory_verification_contact_response "/content:v2/LiasettingsSetInventoryVerificationContactResponse": liasettings_set_inventory_verification_contact_response
"/content:v2/LiasettingsSetInventoryVerificationContactResponse/kind": kind "/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": location_id_set
"/content:v2/LocationIdSet/locationIds": location_ids "/content:v2/LocationIdSet/locationIds": location_ids
"/content:v2/LocationIdSet/locationIds/location_id": location_id "/content:v2/LocationIdSet/locationIds/location_id": location_id
@ -34517,6 +34548,7 @@
"/content:v2/RateGroup/carrierRates": carrier_rates "/content:v2/RateGroup/carrierRates": carrier_rates
"/content:v2/RateGroup/carrierRates/carrier_rate": carrier_rate "/content:v2/RateGroup/carrierRates/carrier_rate": carrier_rate
"/content:v2/RateGroup/mainTable": main_table "/content:v2/RateGroup/mainTable": main_table
"/content:v2/RateGroup/name": name
"/content:v2/RateGroup/singleValue": single_value "/content:v2/RateGroup/singleValue": single_value
"/content:v2/RateGroup/subtables": subtables "/content:v2/RateGroup/subtables": subtables
"/content:v2/RateGroup/subtables/subtable": subtable "/content:v2/RateGroup/subtables/subtable": subtable
@ -34780,6 +34812,7 @@
"/content:v2/content.liasettings.list/maxResults": max_results "/content:v2/content.liasettings.list/maxResults": max_results
"/content:v2/content.liasettings.list/merchantId": merchant_id "/content:v2/content.liasettings.list/merchantId": merchant_id
"/content:v2/content.liasettings.list/pageToken": page_token "/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": patch_liasetting
"/content:v2/content.liasettings.patch/accountId": account_id "/content:v2/content.liasettings.patch/accountId": account_id
"/content:v2/content.liasettings.patch/dryRun": dry_run "/content:v2/content.liasettings.patch/dryRun": dry_run
@ -34799,6 +34832,12 @@
"/content:v2/content.liasettings.setinventoryverificationcontact/country": country "/content:v2/content.liasettings.setinventoryverificationcontact/country": country
"/content:v2/content.liasettings.setinventoryverificationcontact/language": language "/content:v2/content.liasettings.setinventoryverificationcontact/language": language
"/content:v2/content.liasettings.setinventoryverificationcontact/merchantId": merchant_id "/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": update_liasetting
"/content:v2/content.liasettings.update/accountId": account_id "/content:v2/content.liasettings.update/accountId": account_id
"/content:v2/content.liasettings.update/dryRun": dry_run "/content:v2/content.liasettings.update/dryRun": dry_run
@ -60126,6 +60165,9 @@
"/iam:v1/iam.roles.queryGrantableRoles": query_grantable_roles "/iam:v1/iam.roles.queryGrantableRoles": query_grantable_roles
"/iam:v1/key": key "/iam:v1/key": key
"/iam:v1/quotaUser": quota_user "/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": create_auth_uri_response
"/identitytoolkit:v3/CreateAuthUriResponse/allProviders": all_providers "/identitytoolkit:v3/CreateAuthUriResponse/allProviders": all_providers
"/identitytoolkit:v3/CreateAuthUriResponse/allProviders/all_provider": all_provider "/identitytoolkit:v3/CreateAuthUriResponse/allProviders/all_provider": all_provider
@ -66184,6 +66226,7 @@
"/poly:v1/ObjParseError/lineNumber": line_number "/poly:v1/ObjParseError/lineNumber": line_number
"/poly:v1/ObjParseError/startIndex": start_index "/poly:v1/ObjParseError/startIndex": start_index
"/poly:v1/PresentationParams": presentation_params "/poly:v1/PresentationParams": presentation_params
"/poly:v1/PresentationParams/backgroundColor": background_color
"/poly:v1/PresentationParams/colorSpace": color_space "/poly:v1/PresentationParams/colorSpace": color_space
"/poly:v1/PresentationParams/orientingRotation": orienting_rotation "/poly:v1/PresentationParams/orientingRotation": orienting_rotation
"/poly:v1/Quaternion": quaternion "/poly:v1/Quaternion": quaternion

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher # @see https://developers.google.com/android-publisher
module AndroidpublisherV2 module AndroidpublisherV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20180528' REVISION = '20180605'
# View and manage your Google Play Developer account # View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -769,6 +769,14 @@ module Google
# @return [Google::Apis::AndroidpublisherV2::Price] # @return [Google::Apis::AndroidpublisherV2::Price]
attr_accessor :default_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. # List of localized title and description data.
# Corresponds to the JSON property `listings` # Corresponds to the JSON property `listings`
# @return [Hash<String,Google::Apis::AndroidpublisherV2::InAppProductListing>] # @return [Hash<String,Google::Apis::AndroidpublisherV2::InAppProductListing>]
@ -828,6 +836,7 @@ module Google
def update!(**args) def update!(**args)
@default_language = args[:default_language] if args.key?(:default_language) @default_language = args[:default_language] if args.key?(:default_language)
@default_price = args[:default_price] if args.key?(:default_price) @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) @listings = args[:listings] if args.key?(:listings)
@package_name = args[:package_name] if args.key?(:package_name) @package_name = args[:package_name] if args.key?(:package_name)
@prices = args[:prices] if args.key?(:prices) @prices = args[:prices] if args.key?(:prices)

View File

@ -571,6 +571,7 @@ module Google
property :default_language, as: 'defaultLanguage' property :default_language, as: 'defaultLanguage'
property :default_price, as: 'defaultPrice', class: Google::Apis::AndroidpublisherV2::Price, decorator: Google::Apis::AndroidpublisherV2::Price::Representation 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 hash :listings, as: 'listings', class: Google::Apis::AndroidpublisherV2::InAppProductListing, decorator: Google::Apis::AndroidpublisherV2::InAppProductListing::Representation
property :package_name, as: 'packageName' property :package_name, as: 'packageName'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/ # @see https://cloud.google.com/container-engine/
module ContainerV1beta1 module ContainerV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20180518' REVISION = '20180524'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1400,6 +1400,44 @@ module Google
end end
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. # NetworkConfig reports the relative names of network & subnetwork.
class NetworkConfig class NetworkConfig
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1871,6 +1909,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :operation_type 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. # Server-defined URL for the resource.
# Corresponds to the JSON property `selfLink` # Corresponds to the JSON property `selfLink`
# @return [String] # @return [String]
@ -1916,6 +1959,7 @@ module Google
@location = args[:location] if args.key?(:location) @location = args[:location] if args.key?(:location)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@operation_type = args[:operation_type] if args.key?(:operation_type) @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) @self_link = args[:self_link] if args.key?(:self_link)
@start_time = args[:start_time] if args.key?(:start_time) @start_time = args[:start_time] if args.key?(:start_time)
@status = args[:status] if args.key?(:status) @status = args[:status] if args.key?(:status)
@ -1925,6 +1969,50 @@ module Google
end end
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<Google::Apis::ContainerV1beta1::Metric>]
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<Google::Apis::ContainerV1beta1::OperationProgress>]
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. # Configuration for the PodSecurityPolicy feature.
class PodSecurityPolicyConfig class PodSecurityPolicyConfig
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -196,6 +196,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class Metric
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NetworkConfig class NetworkConfig
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -250,6 +256,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class OperationProgress
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PodSecurityPolicyConfig class PodSecurityPolicyConfig
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -703,6 +715,16 @@ module Google
end end
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 class NetworkConfig
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -805,6 +827,8 @@ module Google
property :location, as: 'location' property :location, as: 'location'
property :name, as: 'name' property :name, as: 'name'
property :operation_type, as: 'operationType' 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 :self_link, as: 'selfLink'
property :start_time, as: 'startTime' property :start_time, as: 'startTime'
property :status, as: 'status' property :status, as: 'status'
@ -814,6 +838,18 @@ module Google
end end
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 class PodSecurityPolicyConfig
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content # @see https://developers.google.com/shopping-content
module ContentV2 module ContentV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20180529' REVISION = '20180605'
# Manage your product listings and accounts for Google Shopping # Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content' AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -1204,6 +1204,40 @@ module Google
end end
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. # Datafeed configuration data.
class Datafeed class Datafeed
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1931,12 +1965,25 @@ module Google
class DeliveryTime class DeliveryTime
include Google::Apis::Core::Hashable 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 cutoff definitions. If configured, they specify order cutoff times for
# holiday-specific shipping. # holiday-specific shipping.
# Corresponds to the JSON property `holidayCutoffs` # Corresponds to the JSON property `holidayCutoffs`
# @return [Array<Google::Apis::ContentV2::HolidayCutoff>] # @return [Array<Google::Apis::ContentV2::HolidayCutoff>]
attr_accessor :holiday_cutoffs 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 # 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 # delivery, 1 means next day delivery. Must be greater than or equal to
# minTransitTimeInDays. Required. # minTransitTimeInDays. Required.
@ -1944,6 +1991,12 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :max_transit_time_in_days 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 # Minimum number of business days that is spent in transit. 0 means same day
# delivery, 1 means next day delivery. Required. # delivery, 1 means next day delivery. Required.
# Corresponds to the JSON property `minTransitTimeInDays` # Corresponds to the JSON property `minTransitTimeInDays`
@ -1956,8 +2009,11 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@cutoff_time = args[:cutoff_time] if args.key?(:cutoff_time)
@holiday_cutoffs = args[:holiday_cutoffs] if args.key?(:holiday_cutoffs) @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) @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) @min_transit_time_in_days = args[:min_transit_time_in_days] if args.key?(:min_transit_time_in_days)
end end
end end
@ -2737,6 +2793,11 @@ module Google
# @return [Google::Apis::ContentV2::LiaOnDisplayToOrderSettings] # @return [Google::Apis::ContentV2::LiaOnDisplayToOrderSettings]
attr_accessor :on_display_to_order 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. # The status of the "Store pickup" feature.
# Corresponds to the JSON property `storePickupActive` # Corresponds to the JSON property `storePickupActive`
# @return [Boolean] # @return [Boolean]
@ -2754,6 +2815,7 @@ module Google
@hosted_local_storefront_active = args[:hosted_local_storefront_active] if args.key?(:hosted_local_storefront_active) @hosted_local_storefront_active = args[:hosted_local_storefront_active] if args.key?(:hosted_local_storefront_active)
@inventory = args[:inventory] if args.key?(:inventory) @inventory = args[:inventory] if args.key?(:inventory)
@on_display_to_order = args[:on_display_to_order] if args.key?(:on_display_to_order) @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) @store_pickup_active = args[:store_pickup_active] if args.key?(:store_pickup_active)
end end
end end
@ -2820,6 +2882,31 @@ module Google
end end
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 class LiaSettings
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3061,6 +3148,32 @@ module Google
end end
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<Google::Apis::ContentV2::PosDataProviders>]
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 class LiasettingsListResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3153,6 +3266,26 @@ module Google
end end
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 class LocationIdSet
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -8728,6 +8861,12 @@ module Google
# @return [Google::Apis::ContentV2::Table] # @return [Google::Apis::ContentV2::Table]
attr_accessor :main_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. # The single value of a rate group or the value of a rate group table's cell.
# Exactly one of noShipping, flatRate, pricePercentage, carrierRateName, # Exactly one of noShipping, flatRate, pricePercentage, carrierRateName,
# subtableName must be set. # subtableName must be set.
@ -8750,6 +8889,7 @@ module Google
@applicable_shipping_labels = args[:applicable_shipping_labels] if args.key?(:applicable_shipping_labels) @applicable_shipping_labels = args[:applicable_shipping_labels] if args.key?(:applicable_shipping_labels)
@carrier_rates = args[:carrier_rates] if args.key?(:carrier_rates) @carrier_rates = args[:carrier_rates] if args.key?(:carrier_rates)
@main_table = args[:main_table] if args.key?(:main_table) @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) @single_value = args[:single_value] if args.key?(:single_value)
@subtables = args[:subtables] if args.key?(:subtables) @subtables = args[:subtables] if args.key?(:subtables)
end end

View File

@ -214,6 +214,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class CutoffTime
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Datafeed class Datafeed
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -460,6 +466,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class LiaPosDataProvider
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LiaSettings class LiaSettings
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -496,6 +508,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class LiasettingsListPosDataProvidersResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LiasettingsListResponse class LiasettingsListResponse
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -520,6 +538,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class LiasettingsSetPosDataProviderResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LocationIdSet class LocationIdSet
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1769,6 +1793,15 @@ module Google
end end
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 class Datafeed
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1972,9 +2005,13 @@ module Google
class DeliveryTime class DeliveryTime
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation 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 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 :max_transit_time_in_days, as: 'maxTransitTimeInDays'
property :min_handling_time_in_days, as: 'minHandlingTimeInDays'
property :min_transit_time_in_days, as: 'minTransitTimeInDays' property :min_transit_time_in_days, as: 'minTransitTimeInDays'
end end
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 :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' property :store_pickup_active, as: 'storePickupActive'
end end
end end
@ -2226,6 +2265,14 @@ module Google
end end
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 class LiaSettings
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -2297,6 +2344,15 @@ module Google
end end
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 class LiasettingsListResponse
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -2328,6 +2384,13 @@ module Google
end end
end end
class LiasettingsSetPosDataProviderResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
end
end
class LocationIdSet class LocationIdSet
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation 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 :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 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 collection :subtables, as: 'subtables', class: Google::Apis::ContentV2::Table, decorator: Google::Apis::ContentV2::Table::Representation

View File

@ -1404,6 +1404,37 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end 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. # Updates the LIA settings of the account. This method supports patch semantics.
# @param [Fixnum] merchant_id # @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId, # 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) execute_or_queue_command(command, &block)
end 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. # Updates the LIA settings of the account.
# @param [Fixnum] merchant_id # @param [Fixnum] merchant_id
# The ID of the managing account. If this parameter is not the same as accountId, # The ID of the managing account. If this parameter is not the same as accountId,

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/datastore/ # @see https://cloud.google.com/datastore/
module DatastoreV1 module DatastoreV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180417' REVISION = '20180605'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/datastore/ # @see https://cloud.google.com/datastore/
module DatastoreV1beta1 module DatastoreV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20180417' REVISION = '20180605'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/datastore/ # @see https://cloud.google.com/datastore/
module DatastoreV1beta3 module DatastoreV1beta3
VERSION = 'V1beta3' VERSION = 'V1beta3'
REVISION = '20180417' REVISION = '20180605'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/firestore # @see https://cloud.google.com/firestore
module FirestoreV1beta1 module FirestoreV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20180418' REVISION = '20180605'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/genomics # @see https://cloud.google.com/genomics
module GenomicsV1 module GenomicsV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180501' REVISION = '20180607'
# View and manage your data in Google BigQuery # View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/genomics # @see https://cloud.google.com/genomics
module GenomicsV1alpha2 module GenomicsV1alpha2
VERSION = 'V1alpha2' VERSION = 'V1alpha2'
REVISION = '20180501' REVISION = '20180607'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/genomics # @see https://cloud.google.com/genomics
module GenomicsV2alpha1 module GenomicsV2alpha1
VERSION = 'V2alpha1' VERSION = 'V2alpha1'
REVISION = '20180601' REVISION = '20180607'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -705,14 +705,21 @@ module Google
class Network class Network
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The network name to attach the VM's network interface to. If unspecified, # The network name to attach the VM's network interface to. The value will
# the global default network is used. # 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` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# If the specified network is configured for custom subnet creation, the # If the specified network is configured for custom subnet creation, the
# name of the subnetwork to attach the instance to must be specified here. # 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` # Corresponds to the JSON property `subnetwork`
# @return [String] # @return [String]
attr_accessor :subnetwork attr_accessor :subnetwork

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/logging/docs/ # @see https://cloud.google.com/logging/docs/
module LoggingV2 module LoggingV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20180531' REVISION = '20180604'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/logging/docs/ # @see https://cloud.google.com/logging/docs/
module LoggingV2beta1 module LoggingV2beta1
VERSION = 'V2beta1' VERSION = 'V2beta1'
REVISION = '20180424' REVISION = '20180604'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/ # @see https://cloud.google.com/monitoring/api/
module MonitoringV3 module MonitoringV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20180529' REVISION = '20180603'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -711,8 +711,7 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :count attr_accessor :count
# Must be in increasing order of |value| field. The current requirement enforced # Must be in increasing order of value field.
# by the backend is that at most one Exemplar will fall into any bucket.
# Corresponds to the JSON property `exemplars` # Corresponds to the JSON property `exemplars`
# @return [Array<Google::Apis::MonitoringV3::Exemplar>] # @return [Array<Google::Apis::MonitoringV3::Exemplar>]
attr_accessor :exemplars attr_accessor :exemplars

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/poly/ # @see https://developers.google.com/poly/
module PolyV1 module PolyV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180217' REVISION = '20180601'
end end
end end
end end

View File

@ -458,6 +458,15 @@ module Google
class PresentationParams class PresentationParams
include Google::Apis::Core::Hashable 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 # The materials' diffuse/albedo color. This does not apply to vertex colors
# or texture maps. # or texture maps.
# Corresponds to the JSON property `colorSpace` # Corresponds to the JSON property `colorSpace`
@ -477,6 +486,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@background_color = args[:background_color] if args.key?(:background_color)
@color_space = args[:color_space] if args.key?(:color_space) @color_space = args[:color_space] if args.key?(:color_space)
@orienting_rotation = args[:orienting_rotation] if args.key?(:orienting_rotation) @orienting_rotation = args[:orienting_rotation] if args.key?(:orienting_rotation)
end end

View File

@ -223,6 +223,7 @@ module Google
class PresentationParams class PresentationParams
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :background_color, as: 'backgroundColor'
property :color_space, as: 'colorSpace' property :color_space, as: 'colorSpace'
property :orienting_rotation, as: 'orientingRotation', class: Google::Apis::PolyV1::Quaternion, decorator: Google::Apis::PolyV1::Quaternion::Representation property :orienting_rotation, as: 'orientingRotation', class: Google::Apis::PolyV1::Quaternion, decorator: Google::Apis::PolyV1::Quaternion::Representation

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/cloud-test-lab/ # @see https://developers.google.com/cloud-test-lab/
module TestingV1 module TestingV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180522' REVISION = '20180606'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'