Autogenerated update (2020-03-02)
Update: - content_v2 - content_v2_1 - youtube_partner_v1
This commit is contained in:
parent
17be7a706f
commit
92ae522c02
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/shopping-content
|
||||
module ContentV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20200110'
|
||||
REVISION = '20200219'
|
||||
|
||||
# Manage your product listings and accounts for Google Shopping
|
||||
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
||||
|
|
|
@ -1679,12 +1679,12 @@ module Google
|
|||
class CustomerReturnReason
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Description of the reason.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
#
|
||||
# Code of the return reason.
|
||||
# Corresponds to the JSON property `reasonCode`
|
||||
# @return [String]
|
||||
attr_accessor :reason_code
|
||||
|
@ -3940,36 +3940,37 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
# Order return. Production access (all methods) requires the order manager role.
|
||||
# Sandbox access does not.
|
||||
class MerchantOrderReturn
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# The date of creation of the return, in ISO 8601 format.
|
||||
# Corresponds to the JSON property `creationDate`
|
||||
# @return [String]
|
||||
attr_accessor :creation_date
|
||||
|
||||
#
|
||||
# Merchant defined order ID.
|
||||
# Corresponds to the JSON property `merchantOrderId`
|
||||
# @return [String]
|
||||
attr_accessor :merchant_order_id
|
||||
|
||||
#
|
||||
# Google order ID.
|
||||
# Corresponds to the JSON property `orderId`
|
||||
# @return [String]
|
||||
attr_accessor :order_id
|
||||
|
||||
#
|
||||
# Order return ID generated by Google.
|
||||
# Corresponds to the JSON property `orderReturnId`
|
||||
# @return [String]
|
||||
attr_accessor :order_return_id
|
||||
|
||||
#
|
||||
# Items of the return.
|
||||
# Corresponds to the JSON property `returnItems`
|
||||
# @return [Array<Google::Apis::ContentV2::MerchantOrderReturnItem>]
|
||||
attr_accessor :return_items
|
||||
|
||||
#
|
||||
# Shipments of the return.
|
||||
# Corresponds to the JSON property `returnShipments`
|
||||
# @return [Array<Google::Apis::ContentV2::ReturnShipment>]
|
||||
attr_accessor :return_shipments
|
||||
|
@ -3993,32 +3994,33 @@ module Google
|
|||
class MerchantOrderReturnItem
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# The reason that the customer chooses to return an item.
|
||||
# Corresponds to the JSON property `customerReturnReason`
|
||||
# @return [Google::Apis::ContentV2::CustomerReturnReason]
|
||||
attr_accessor :customer_return_reason
|
||||
|
||||
#
|
||||
# Product level item ID. If the returned items are of the same product, they
|
||||
# will have the same ID.
|
||||
# Corresponds to the JSON property `itemId`
|
||||
# @return [String]
|
||||
attr_accessor :item_id
|
||||
|
||||
#
|
||||
# The reason that merchant chooses to accept a return item.
|
||||
# Corresponds to the JSON property `merchantReturnReason`
|
||||
# @return [Google::Apis::ContentV2::RefundReason]
|
||||
attr_accessor :merchant_return_reason
|
||||
|
||||
#
|
||||
# Product data from the time of the order placement.
|
||||
# Corresponds to the JSON property `product`
|
||||
# @return [Google::Apis::ContentV2::OrderLineItemProduct]
|
||||
attr_accessor :product
|
||||
|
||||
#
|
||||
# IDs of the return shipments that this return item belongs to.
|
||||
# Corresponds to the JSON property `returnShipmentIds`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :return_shipment_ids
|
||||
|
||||
#
|
||||
# State of the item.
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
attr_accessor :state
|
||||
|
@ -5296,6 +5298,7 @@ module Google
|
|||
# - "geodis" (GEODIS)
|
||||
# - "tnt" (TNT)
|
||||
# - "db schenker" (DB Schenker)
|
||||
# - "aramex" (Aramex)
|
||||
# Corresponds to the JSON property `carrier`
|
||||
# @return [String]
|
||||
attr_accessor :carrier
|
||||
|
@ -9975,12 +9978,12 @@ module Google
|
|||
class RefundReason
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Description of the reason.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
#
|
||||
# Code of the refund reason.
|
||||
# Corresponds to the JSON property `reasonCode`
|
||||
# @return [String]
|
||||
attr_accessor :reason_code
|
||||
|
@ -10000,37 +10003,38 @@ module Google
|
|||
class ReturnShipment
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# The date of creation of the shipment, in ISO 8601 format.
|
||||
# Corresponds to the JSON property `creationDate`
|
||||
# @return [String]
|
||||
attr_accessor :creation_date
|
||||
|
||||
#
|
||||
# The date of delivery of the shipment, in ISO 8601 format.
|
||||
# Corresponds to the JSON property `deliveryDate`
|
||||
# @return [String]
|
||||
attr_accessor :delivery_date
|
||||
|
||||
#
|
||||
# Type of the return method.
|
||||
# Corresponds to the JSON property `returnMethodType`
|
||||
# @return [String]
|
||||
attr_accessor :return_method_type
|
||||
|
||||
#
|
||||
# Shipment ID generated by Google.
|
||||
# Corresponds to the JSON property `shipmentId`
|
||||
# @return [String]
|
||||
attr_accessor :shipment_id
|
||||
|
||||
#
|
||||
# Tracking information of the shipment. One return shipment might be handled by
|
||||
# several shipping carriers sequentially.
|
||||
# Corresponds to the JSON property `shipmentTrackingInfos`
|
||||
# @return [Array<Google::Apis::ContentV2::ShipmentTrackingInfo>]
|
||||
attr_accessor :shipment_tracking_infos
|
||||
|
||||
#
|
||||
# The date of shipping of the shipment, in ISO 8601 format.
|
||||
# Corresponds to the JSON property `shippingDate`
|
||||
# @return [String]
|
||||
attr_accessor :shipping_date
|
||||
|
||||
#
|
||||
# State of the shipment.
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
attr_accessor :state
|
||||
|
@ -10232,12 +10236,12 @@ module Google
|
|||
class ShipmentTrackingInfo
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# The shipping carrier that handles the package.
|
||||
# Corresponds to the JSON property `carrier`
|
||||
# @return [String]
|
||||
attr_accessor :carrier
|
||||
|
||||
#
|
||||
# The tracking number for the package.
|
||||
# Corresponds to the JSON property `trackingNumber`
|
||||
# @return [String]
|
||||
attr_accessor :tracking_number
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/shopping-content
|
||||
module ContentV2_1
|
||||
VERSION = 'V2_1'
|
||||
REVISION = '20200117'
|
||||
REVISION = '20200219'
|
||||
|
||||
# Manage your product listings and accounts for Google Shopping
|
||||
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
||||
|
|
|
@ -1553,12 +1553,12 @@ module Google
|
|||
class CustomerReturnReason
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Description of the reason.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
#
|
||||
# Code of the return reason.
|
||||
# Corresponds to the JSON property `reasonCode`
|
||||
# @return [String]
|
||||
attr_accessor :reason_code
|
||||
|
@ -3410,36 +3410,37 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
# Order return. Production access (all methods) requires the order manager role.
|
||||
# Sandbox access does not.
|
||||
class MerchantOrderReturn
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# The date of creation of the return, in ISO 8601 format.
|
||||
# Corresponds to the JSON property `creationDate`
|
||||
# @return [String]
|
||||
attr_accessor :creation_date
|
||||
|
||||
#
|
||||
# Merchant defined order ID.
|
||||
# Corresponds to the JSON property `merchantOrderId`
|
||||
# @return [String]
|
||||
attr_accessor :merchant_order_id
|
||||
|
||||
#
|
||||
# Google order ID.
|
||||
# Corresponds to the JSON property `orderId`
|
||||
# @return [String]
|
||||
attr_accessor :order_id
|
||||
|
||||
#
|
||||
# Order return ID generated by Google.
|
||||
# Corresponds to the JSON property `orderReturnId`
|
||||
# @return [String]
|
||||
attr_accessor :order_return_id
|
||||
|
||||
#
|
||||
# Items of the return.
|
||||
# Corresponds to the JSON property `returnItems`
|
||||
# @return [Array<Google::Apis::ContentV2_1::MerchantOrderReturnItem>]
|
||||
attr_accessor :return_items
|
||||
|
||||
#
|
||||
# Shipments of the return.
|
||||
# Corresponds to the JSON property `returnShipments`
|
||||
# @return [Array<Google::Apis::ContentV2_1::ReturnShipment>]
|
||||
attr_accessor :return_shipments
|
||||
|
@ -3463,32 +3464,33 @@ module Google
|
|||
class MerchantOrderReturnItem
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# The reason that the customer chooses to return an item.
|
||||
# Corresponds to the JSON property `customerReturnReason`
|
||||
# @return [Google::Apis::ContentV2_1::CustomerReturnReason]
|
||||
attr_accessor :customer_return_reason
|
||||
|
||||
#
|
||||
# Product level item ID. If the returned items are of the same product, they
|
||||
# will have the same ID.
|
||||
# Corresponds to the JSON property `itemId`
|
||||
# @return [String]
|
||||
attr_accessor :item_id
|
||||
|
||||
#
|
||||
# The reason that merchant chooses to accept a return item.
|
||||
# Corresponds to the JSON property `merchantReturnReason`
|
||||
# @return [Google::Apis::ContentV2_1::RefundReason]
|
||||
attr_accessor :merchant_return_reason
|
||||
|
||||
#
|
||||
# Product data from the time of the order placement.
|
||||
# Corresponds to the JSON property `product`
|
||||
# @return [Google::Apis::ContentV2_1::OrderLineItemProduct]
|
||||
attr_accessor :product
|
||||
|
||||
#
|
||||
# IDs of the return shipments that this return item belongs to.
|
||||
# Corresponds to the JSON property `returnShipmentIds`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :return_shipment_ids
|
||||
|
||||
#
|
||||
# State of the item.
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
attr_accessor :state
|
||||
|
@ -4778,6 +4780,7 @@ module Google
|
|||
# - "geodis" (GEODIS)
|
||||
# - "tnt" (TNT)
|
||||
# - "db schenker" (DB Schenker)
|
||||
# - "aramex" (Aramex)
|
||||
# Corresponds to the JSON property `carrier`
|
||||
# @return [String]
|
||||
attr_accessor :carrier
|
||||
|
@ -8361,12 +8364,12 @@ module Google
|
|||
class RefundReason
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Description of the reason.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
#
|
||||
# Code of the refund reason.
|
||||
# Corresponds to the JSON property `reasonCode`
|
||||
# @return [String]
|
||||
attr_accessor :reason_code
|
||||
|
@ -8821,37 +8824,38 @@ module Google
|
|||
class ReturnShipment
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# The date of creation of the shipment, in ISO 8601 format.
|
||||
# Corresponds to the JSON property `creationDate`
|
||||
# @return [String]
|
||||
attr_accessor :creation_date
|
||||
|
||||
#
|
||||
# The date of delivery of the shipment, in ISO 8601 format.
|
||||
# Corresponds to the JSON property `deliveryDate`
|
||||
# @return [String]
|
||||
attr_accessor :delivery_date
|
||||
|
||||
#
|
||||
# Type of the return method.
|
||||
# Corresponds to the JSON property `returnMethodType`
|
||||
# @return [String]
|
||||
attr_accessor :return_method_type
|
||||
|
||||
#
|
||||
# Shipment ID generated by Google.
|
||||
# Corresponds to the JSON property `shipmentId`
|
||||
# @return [String]
|
||||
attr_accessor :shipment_id
|
||||
|
||||
#
|
||||
# Tracking information of the shipment. One return shipment might be handled by
|
||||
# several shipping carriers sequentially.
|
||||
# Corresponds to the JSON property `shipmentTrackingInfos`
|
||||
# @return [Array<Google::Apis::ContentV2_1::ShipmentTrackingInfo>]
|
||||
attr_accessor :shipment_tracking_infos
|
||||
|
||||
#
|
||||
# The date of shipping of the shipment, in ISO 8601 format.
|
||||
# Corresponds to the JSON property `shippingDate`
|
||||
# @return [String]
|
||||
attr_accessor :shipping_date
|
||||
|
||||
#
|
||||
# State of the shipment.
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
attr_accessor :state
|
||||
|
@ -9363,12 +9367,12 @@ module Google
|
|||
class ShipmentTrackingInfo
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# The shipping carrier that handles the package.
|
||||
# Corresponds to the JSON property `carrier`
|
||||
# @return [String]
|
||||
attr_accessor :carrier
|
||||
|
||||
#
|
||||
# The tracking number for the package.
|
||||
# Corresponds to the JSON property `trackingNumber`
|
||||
# @return [String]
|
||||
attr_accessor :tracking_number
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/youtube/partner/
|
||||
module YoutubePartnerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200212'
|
||||
REVISION = '20200226'
|
||||
|
||||
# View and manage your assets and associated content on YouTube
|
||||
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
||||
|
|
Loading…
Reference in New Issue