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 committed 2018-06-08 00:35:54 +00:00
1 parent e588859e17
commit 17fb47d340
31 files changed
+638 -19

No files matched your search

+140
View File
@@ -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<Google::Apis::ContentV2::HolidayCutoff>]
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<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
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
@@ -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
@@ -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,