Autogenerated update (2018-01-23)
Update: - content_v2 - dns_v1beta2 - sheets_v4
This commit is contained in:
parent
3c75e37d94
commit
a64cf30e0a
|
@ -30565,6 +30565,8 @@
|
|||
"/content:v2/DatafeedstatusesListResponse/resources": resources
|
||||
"/content:v2/DatafeedstatusesListResponse/resources/resource": resource
|
||||
"/content:v2/DeliveryTime": delivery_time
|
||||
"/content:v2/DeliveryTime/holidayCutoffs": holiday_cutoffs
|
||||
"/content:v2/DeliveryTime/holidayCutoffs/holiday_cutoff": holiday_cutoff
|
||||
"/content:v2/DeliveryTime/maxTransitTimeInDays": max_transit_time_in_days
|
||||
"/content:v2/DeliveryTime/minTransitTimeInDays": min_transit_time_in_days
|
||||
"/content:v2/Error": error
|
||||
|
@ -30587,6 +30589,19 @@
|
|||
"/content:v2/Headers/prices/price": price
|
||||
"/content:v2/Headers/weights": weights
|
||||
"/content:v2/Headers/weights/weight": weight
|
||||
"/content:v2/HolidayCutoff": holiday_cutoff
|
||||
"/content:v2/HolidayCutoff/deadlineDate": deadline_date
|
||||
"/content:v2/HolidayCutoff/deadlineHour": deadline_hour
|
||||
"/content:v2/HolidayCutoff/deadlineTimezone": deadline_timezone
|
||||
"/content:v2/HolidayCutoff/holidayId": holiday_id
|
||||
"/content:v2/HolidayCutoff/visibleFromDate": visible_from_date
|
||||
"/content:v2/HolidaysHoliday": holidays_holiday
|
||||
"/content:v2/HolidaysHoliday/countryCode": country_code
|
||||
"/content:v2/HolidaysHoliday/date": date
|
||||
"/content:v2/HolidaysHoliday/deliveryGuaranteeDate": delivery_guarantee_date
|
||||
"/content:v2/HolidaysHoliday/deliveryGuaranteeHour": delivery_guarantee_hour
|
||||
"/content:v2/HolidaysHoliday/id": id
|
||||
"/content:v2/HolidaysHoliday/type": type
|
||||
"/content:v2/Installment": installment
|
||||
"/content:v2/Installment/amount": amount
|
||||
"/content:v2/Installment/months": months
|
||||
|
@ -31177,6 +31192,8 @@
|
|||
"/content:v2/ProductStatus/destinationStatuses": destination_statuses
|
||||
"/content:v2/ProductStatus/destinationStatuses/destination_status": destination_status
|
||||
"/content:v2/ProductStatus/googleExpirationDate": google_expiration_date
|
||||
"/content:v2/ProductStatus/itemLevelIssues": item_level_issues
|
||||
"/content:v2/ProductStatus/itemLevelIssues/item_level_issue": item_level_issue
|
||||
"/content:v2/ProductStatus/kind": kind
|
||||
"/content:v2/ProductStatus/lastUpdateDate": last_update_date
|
||||
"/content:v2/ProductStatus/link": link
|
||||
|
@ -31193,9 +31210,16 @@
|
|||
"/content:v2/ProductStatusDataQualityIssue/valueOnLandingPage": value_on_landing_page
|
||||
"/content:v2/ProductStatusDataQualityIssue/valueProvided": value_provided
|
||||
"/content:v2/ProductStatusDestinationStatus": product_status_destination_status
|
||||
"/content:v2/ProductStatusDestinationStatus/approvalPending": approval_pending
|
||||
"/content:v2/ProductStatusDestinationStatus/approvalStatus": approval_status
|
||||
"/content:v2/ProductStatusDestinationStatus/destination": destination
|
||||
"/content:v2/ProductStatusDestinationStatus/intention": intention
|
||||
"/content:v2/ProductStatusItemLevelIssue": product_status_item_level_issue
|
||||
"/content:v2/ProductStatusItemLevelIssue/attributeName": attribute_name
|
||||
"/content:v2/ProductStatusItemLevelIssue/code": code
|
||||
"/content:v2/ProductStatusItemLevelIssue/destination": destination
|
||||
"/content:v2/ProductStatusItemLevelIssue/resolution": resolution
|
||||
"/content:v2/ProductStatusItemLevelIssue/servability": servability
|
||||
"/content:v2/ProductTax": product_tax
|
||||
"/content:v2/ProductTax/country": country
|
||||
"/content:v2/ProductTax/locationId": location_id
|
||||
|
@ -31304,6 +31328,10 @@
|
|||
"/content:v2/ShippingsettingsGetSupportedCarriersResponse/carriers": carriers
|
||||
"/content:v2/ShippingsettingsGetSupportedCarriersResponse/carriers/carrier": carrier
|
||||
"/content:v2/ShippingsettingsGetSupportedCarriersResponse/kind": kind
|
||||
"/content:v2/ShippingsettingsGetSupportedHolidaysResponse": shippingsettings_get_supported_holidays_response
|
||||
"/content:v2/ShippingsettingsGetSupportedHolidaysResponse/holidays": holidays
|
||||
"/content:v2/ShippingsettingsGetSupportedHolidaysResponse/holidays/holiday": holiday
|
||||
"/content:v2/ShippingsettingsGetSupportedHolidaysResponse/kind": kind
|
||||
"/content:v2/ShippingsettingsListResponse": shippingsettings_list_response
|
||||
"/content:v2/ShippingsettingsListResponse/kind": kind
|
||||
"/content:v2/ShippingsettingsListResponse/nextPageToken": next_page_token
|
||||
|
@ -31568,6 +31596,8 @@
|
|||
"/content:v2/content.shippingsettings.get/merchantId": merchant_id
|
||||
"/content:v2/content.shippingsettings.getsupportedcarriers": getsupportedcarriers_shippingsetting
|
||||
"/content:v2/content.shippingsettings.getsupportedcarriers/merchantId": merchant_id
|
||||
"/content:v2/content.shippingsettings.getsupportedholidays": getsupportedholidays_shippingsetting
|
||||
"/content:v2/content.shippingsettings.getsupportedholidays/merchantId": merchant_id
|
||||
"/content:v2/content.shippingsettings.list": list_shippingsettings
|
||||
"/content:v2/content.shippingsettings.list/maxResults": max_results
|
||||
"/content:v2/content.shippingsettings.list/merchantId": merchant_id
|
||||
|
@ -45465,6 +45495,8 @@
|
|||
"/dns:v1beta2/ManagedZone/dnssecConfig": dnssec_config
|
||||
"/dns:v1beta2/ManagedZone/id": id
|
||||
"/dns:v1beta2/ManagedZone/kind": kind
|
||||
"/dns:v1beta2/ManagedZone/labels": labels
|
||||
"/dns:v1beta2/ManagedZone/labels/label": label
|
||||
"/dns:v1beta2/ManagedZone/name": name
|
||||
"/dns:v1beta2/ManagedZone/nameServerSet": name_server_set
|
||||
"/dns:v1beta2/ManagedZone/nameServers": name_servers
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/shopping-content
|
||||
module ContentV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180111'
|
||||
REVISION = '20180122'
|
||||
|
||||
# Manage your product listings and accounts for Google Shopping
|
||||
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
||||
|
|
|
@ -1865,6 +1865,12 @@ module Google
|
|||
class DeliveryTime
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# 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 that is spent in transit. 0 means same day
|
||||
# delivery, 1 means next day delivery. Must be greater than or equal to
|
||||
# minTransitTimeInDays. Required.
|
||||
|
@ -1884,6 +1890,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@holiday_cutoffs = args[:holiday_cutoffs] if args.key?(:holiday_cutoffs)
|
||||
@max_transit_time_in_days = args[:max_transit_time_in_days] if args.key?(:max_transit_time_in_days)
|
||||
@min_transit_time_in_days = args[:min_transit_time_in_days] if args.key?(:min_transit_time_in_days)
|
||||
end
|
||||
|
@ -2010,6 +2017,110 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class HolidayCutoff
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Date of the order deadline, in ISO 8601 format. E.g. "2016-11-29" for 29th
|
||||
# November 2016. Required.
|
||||
# Corresponds to the JSON property `deadlineDate`
|
||||
# @return [String]
|
||||
attr_accessor :deadline_date
|
||||
|
||||
# Hour of the day on the deadline date until which the order has to be placed to
|
||||
# qualify for the delivery guarantee. Possible values are: 0 (midnight), 1, ...,
|
||||
# 12 (noon), 13, ..., 23. Required.
|
||||
# Corresponds to the JSON property `deadlineHour`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :deadline_hour
|
||||
|
||||
# Timezone identifier for the deadline hour. A list of identifiers can be found
|
||||
# in the AdWords API documentation. E.g. "Europe/Zurich". Required.
|
||||
# Corresponds to the JSON property `deadlineTimezone`
|
||||
# @return [String]
|
||||
attr_accessor :deadline_timezone
|
||||
|
||||
# Unique identifier for the holiday. Required.
|
||||
# Corresponds to the JSON property `holidayId`
|
||||
# @return [String]
|
||||
attr_accessor :holiday_id
|
||||
|
||||
# Date on which the deadline will become visible to consumers in ISO 8601 format.
|
||||
# E.g. "2016-10-31" for 31st October 2016. Required.
|
||||
# Corresponds to the JSON property `visibleFromDate`
|
||||
# @return [String]
|
||||
attr_accessor :visible_from_date
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@deadline_date = args[:deadline_date] if args.key?(:deadline_date)
|
||||
@deadline_hour = args[:deadline_hour] if args.key?(:deadline_hour)
|
||||
@deadline_timezone = args[:deadline_timezone] if args.key?(:deadline_timezone)
|
||||
@holiday_id = args[:holiday_id] if args.key?(:holiday_id)
|
||||
@visible_from_date = args[:visible_from_date] if args.key?(:visible_from_date)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class HolidaysHoliday
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The CLDR territory code of the country in which the holiday is available. E.g.
|
||||
# "US", "DE", "GB". A holiday cutoff can only be configured in a shipping
|
||||
# settings service with matching delivery country. Always present.
|
||||
# Corresponds to the JSON property `countryCode`
|
||||
# @return [String]
|
||||
attr_accessor :country_code
|
||||
|
||||
# Date of the holiday, in ISO 8601 format. E.g. "2016-12-25" for Christmas 2016.
|
||||
# Always present.
|
||||
# Corresponds to the JSON property `date`
|
||||
# @return [String]
|
||||
attr_accessor :date
|
||||
|
||||
# Date on which the order has to arrive at the customer's, in ISO 8601 format. E.
|
||||
# g. "2016-12-24" for 24th December 2016. Always present.
|
||||
# Corresponds to the JSON property `deliveryGuaranteeDate`
|
||||
# @return [String]
|
||||
attr_accessor :delivery_guarantee_date
|
||||
|
||||
# Hour of the day in the delivery location's timezone on the guaranteed delivery
|
||||
# date by which the order has to arrive at the customer's. Possible values are:
|
||||
# 0 (midnight), 1, ..., 12 (noon), 13, ..., 23. Always present.
|
||||
# Corresponds to the JSON property `deliveryGuaranteeHour`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :delivery_guarantee_hour
|
||||
|
||||
# Unique identifier for the holiday to be used when configuring holiday cutoffs.
|
||||
# Always present.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# The holiday type. Always present.
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@country_code = args[:country_code] if args.key?(:country_code)
|
||||
@date = args[:date] if args.key?(:date)
|
||||
@delivery_guarantee_date = args[:delivery_guarantee_date] if args.key?(:delivery_guarantee_date)
|
||||
@delivery_guarantee_hour = args[:delivery_guarantee_hour] if args.key?(:delivery_guarantee_hour)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class Installment
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -6108,6 +6219,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :google_expiration_date
|
||||
|
||||
# A list of all issues associated with the product.
|
||||
# Corresponds to the JSON property `itemLevelIssues`
|
||||
# @return [Array<Google::Apis::ContentV2::ProductStatusItemLevelIssue>]
|
||||
attr_accessor :item_level_issues
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# productStatus".
|
||||
# Corresponds to the JSON property `kind`
|
||||
|
@ -6149,6 +6265,7 @@ module Google
|
|||
@data_quality_issues = args[:data_quality_issues] if args.key?(:data_quality_issues)
|
||||
@destination_statuses = args[:destination_statuses] if args.key?(:destination_statuses)
|
||||
@google_expiration_date = args[:google_expiration_date] if args.key?(:google_expiration_date)
|
||||
@item_level_issues = args[:item_level_issues] if args.key?(:item_level_issues)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@last_update_date = args[:last_update_date] if args.key?(:last_update_date)
|
||||
@link = args[:link] if args.key?(:link)
|
||||
|
@ -6223,6 +6340,12 @@ module Google
|
|||
class ProductStatusDestinationStatus
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Whether the approval status might change due to further processing.
|
||||
# Corresponds to the JSON property `approvalPending`
|
||||
# @return [Boolean]
|
||||
attr_accessor :approval_pending
|
||||
alias_method :approval_pending?, :approval_pending
|
||||
|
||||
# The destination's approval status.
|
||||
# Corresponds to the JSON property `approvalStatus`
|
||||
# @return [String]
|
||||
|
@ -6233,8 +6356,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :destination
|
||||
|
||||
# Whether the destination is required, excluded, selected by default or should
|
||||
# be validated.
|
||||
# Provided for backward compatibility only. Always set to "required".
|
||||
# Corresponds to the JSON property `intention`
|
||||
# @return [String]
|
||||
attr_accessor :intention
|
||||
|
@ -6245,12 +6367,56 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@approval_pending = args[:approval_pending] if args.key?(:approval_pending)
|
||||
@approval_status = args[:approval_status] if args.key?(:approval_status)
|
||||
@destination = args[:destination] if args.key?(:destination)
|
||||
@intention = args[:intention] if args.key?(:intention)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ProductStatusItemLevelIssue
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The attribute's name, if the issue is caused by a single attribute.
|
||||
# Corresponds to the JSON property `attributeName`
|
||||
# @return [String]
|
||||
attr_accessor :attribute_name
|
||||
|
||||
# The error code of the issue.
|
||||
# Corresponds to the JSON property `code`
|
||||
# @return [String]
|
||||
attr_accessor :code
|
||||
|
||||
# The destination the issue applies to.
|
||||
# Corresponds to the JSON property `destination`
|
||||
# @return [String]
|
||||
attr_accessor :destination
|
||||
|
||||
# Whether the issue can be resolved by the merchant.
|
||||
# Corresponds to the JSON property `resolution`
|
||||
# @return [String]
|
||||
attr_accessor :resolution
|
||||
|
||||
# How this issue affects serving of the offer.
|
||||
# Corresponds to the JSON property `servability`
|
||||
# @return [String]
|
||||
attr_accessor :servability
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@attribute_name = args[:attribute_name] if args.key?(:attribute_name)
|
||||
@code = args[:code] if args.key?(:code)
|
||||
@destination = args[:destination] if args.key?(:destination)
|
||||
@resolution = args[:resolution] if args.key?(:resolution)
|
||||
@servability = args[:servability] if args.key?(:servability)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ProductTax
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -6990,6 +7156,32 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ShippingsettingsGetSupportedHolidaysResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A list of holidays applicable for delivery guarantees. May be empty.
|
||||
# Corresponds to the JSON property `holidays`
|
||||
# @return [Array<Google::Apis::ContentV2::HolidaysHoliday>]
|
||||
attr_accessor :holidays
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# shippingsettingsGetSupportedHolidaysResponse".
|
||||
# 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)
|
||||
@holidays = args[:holidays] if args.key?(:holidays)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ShippingsettingsListResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -334,6 +334,18 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HolidayCutoff
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HolidaysHoliday
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Installment
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -886,6 +898,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ProductStatusItemLevelIssue
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ProductTax
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -1018,6 +1036,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ShippingsettingsGetSupportedHolidaysResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ShippingsettingsListResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -1592,6 +1616,8 @@ module Google
|
|||
class DeliveryTime
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :holiday_cutoffs, as: 'holidayCutoffs', class: Google::Apis::ContentV2::HolidayCutoff, decorator: Google::Apis::ContentV2::HolidayCutoff::Representation
|
||||
|
||||
property :max_transit_time_in_days, as: 'maxTransitTimeInDays'
|
||||
property :min_transit_time_in_days, as: 'minTransitTimeInDays'
|
||||
end
|
||||
|
@ -1630,6 +1656,29 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class HolidayCutoff
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :deadline_date, as: 'deadlineDate'
|
||||
property :deadline_hour, as: 'deadlineHour'
|
||||
property :deadline_timezone, as: 'deadlineTimezone'
|
||||
property :holiday_id, as: 'holidayId'
|
||||
property :visible_from_date, as: 'visibleFromDate'
|
||||
end
|
||||
end
|
||||
|
||||
class HolidaysHoliday
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :country_code, as: 'countryCode'
|
||||
property :date, as: 'date'
|
||||
property :delivery_guarantee_date, as: 'deliveryGuaranteeDate'
|
||||
property :delivery_guarantee_hour, :numeric_string => true, as: 'deliveryGuaranteeHour'
|
||||
property :id, as: 'id'
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class Installment
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -2733,6 +2782,8 @@ module Google
|
|||
collection :destination_statuses, as: 'destinationStatuses', class: Google::Apis::ContentV2::ProductStatusDestinationStatus, decorator: Google::Apis::ContentV2::ProductStatusDestinationStatus::Representation
|
||||
|
||||
property :google_expiration_date, as: 'googleExpirationDate'
|
||||
collection :item_level_issues, as: 'itemLevelIssues', class: Google::Apis::ContentV2::ProductStatusItemLevelIssue, decorator: Google::Apis::ContentV2::ProductStatusItemLevelIssue::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :last_update_date, as: 'lastUpdateDate'
|
||||
property :link, as: 'link'
|
||||
|
@ -2760,12 +2811,24 @@ module Google
|
|||
class ProductStatusDestinationStatus
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :approval_pending, as: 'approvalPending'
|
||||
property :approval_status, as: 'approvalStatus'
|
||||
property :destination, as: 'destination'
|
||||
property :intention, as: 'intention'
|
||||
end
|
||||
end
|
||||
|
||||
class ProductStatusItemLevelIssue
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :attribute_name, as: 'attributeName'
|
||||
property :code, as: 'code'
|
||||
property :destination, as: 'destination'
|
||||
property :resolution, as: 'resolution'
|
||||
property :servability, as: 'servability'
|
||||
end
|
||||
end
|
||||
|
||||
class ProductTax
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -2995,6 +3058,15 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ShippingsettingsGetSupportedHolidaysResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :holidays, as: 'holidays', class: Google::Apis::ContentV2::HolidaysHoliday, decorator: Google::Apis::ContentV2::HolidaysHoliday::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
end
|
||||
end
|
||||
|
||||
class ShippingsettingsListResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -2570,6 +2570,41 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieves supported holidays for an account.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the account for which to retrieve the supported holidays.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# 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.
|
||||
# Overrides userIp if both are provided.
|
||||
# @param [String] user_ip
|
||||
# IP address of the site where the request originates. Use this if you want to
|
||||
# enforce per-user limits.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse]
|
||||
#
|
||||
# @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 getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{merchantId}/supportedHolidays', options)
|
||||
command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse::Representation
|
||||
command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedHolidaysResponse
|
||||
command.params['merchantId'] = merchant_id unless merchant_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
|
||||
|
||||
# Lists the shipping settings of the sub-accounts in your Merchant Center
|
||||
# account.
|
||||
# @param [Fixnum] merchant_id
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/cloud-dns
|
||||
module DnsV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20171019'
|
||||
REVISION = '20180119'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -372,6 +372,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# User labels.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# User assigned name for this resource. Must be unique within the project. The
|
||||
# name must be 1-63 characters long, must begin with a letter, end with a letter
|
||||
# or digit, and only contain lowercase letters, digits or dashes.
|
||||
|
@ -404,6 +409,7 @@ module Google
|
|||
@dnssec_config = args[:dnssec_config] if args.key?(:dnssec_config)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@name_server_set = args[:name_server_set] if args.key?(:name_server_set)
|
||||
@name_servers = args[:name_servers] if args.key?(:name_servers)
|
||||
|
|
|
@ -221,6 +221,7 @@ module Google
|
|||
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
hash :labels, as: 'labels'
|
||||
property :name, as: 'name'
|
||||
property :name_server_set, as: 'nameServerSet'
|
||||
collection :name_servers, as: 'nameServers'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/sheets/
|
||||
module SheetsV4
|
||||
VERSION = 'V4'
|
||||
REVISION = '20180106'
|
||||
REVISION = '20180118'
|
||||
|
||||
# View and manage the files in your Google Drive
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
|
Loading…
Reference in New Issue