Autogenerated update (2020-03-02)

Update:
- content_v2
- content_v2_1
- youtube_partner_v1
This commit is contained in:
Google APIs 2020-03-02 00:37:16 +00:00
parent 17be7a706f
commit 92ae522c02
5 changed files with 63 additions and 55 deletions

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 = '20200110' REVISION = '20200219'
# 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

@ -1679,12 +1679,12 @@ module Google
class CustomerReturnReason class CustomerReturnReason
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# # Description of the reason.
# Corresponds to the JSON property `description` # Corresponds to the JSON property `description`
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description
# # Code of the return reason.
# Corresponds to the JSON property `reasonCode` # Corresponds to the JSON property `reasonCode`
# @return [String] # @return [String]
attr_accessor :reason_code attr_accessor :reason_code
@ -3940,36 +3940,37 @@ module Google
end end
end end
# # Order return. Production access (all methods) requires the order manager role.
# Sandbox access does not.
class MerchantOrderReturn class MerchantOrderReturn
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# # The date of creation of the return, in ISO 8601 format.
# Corresponds to the JSON property `creationDate` # Corresponds to the JSON property `creationDate`
# @return [String] # @return [String]
attr_accessor :creation_date attr_accessor :creation_date
# # Merchant defined order ID.
# Corresponds to the JSON property `merchantOrderId` # Corresponds to the JSON property `merchantOrderId`
# @return [String] # @return [String]
attr_accessor :merchant_order_id attr_accessor :merchant_order_id
# # Google order ID.
# Corresponds to the JSON property `orderId` # Corresponds to the JSON property `orderId`
# @return [String] # @return [String]
attr_accessor :order_id attr_accessor :order_id
# # Order return ID generated by Google.
# Corresponds to the JSON property `orderReturnId` # Corresponds to the JSON property `orderReturnId`
# @return [String] # @return [String]
attr_accessor :order_return_id attr_accessor :order_return_id
# # Items of the return.
# Corresponds to the JSON property `returnItems` # Corresponds to the JSON property `returnItems`
# @return [Array<Google::Apis::ContentV2::MerchantOrderReturnItem>] # @return [Array<Google::Apis::ContentV2::MerchantOrderReturnItem>]
attr_accessor :return_items attr_accessor :return_items
# # Shipments of the return.
# Corresponds to the JSON property `returnShipments` # Corresponds to the JSON property `returnShipments`
# @return [Array<Google::Apis::ContentV2::ReturnShipment>] # @return [Array<Google::Apis::ContentV2::ReturnShipment>]
attr_accessor :return_shipments attr_accessor :return_shipments
@ -3993,32 +3994,33 @@ module Google
class MerchantOrderReturnItem class MerchantOrderReturnItem
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# # The reason that the customer chooses to return an item.
# Corresponds to the JSON property `customerReturnReason` # Corresponds to the JSON property `customerReturnReason`
# @return [Google::Apis::ContentV2::CustomerReturnReason] # @return [Google::Apis::ContentV2::CustomerReturnReason]
attr_accessor :customer_return_reason 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` # Corresponds to the JSON property `itemId`
# @return [String] # @return [String]
attr_accessor :item_id attr_accessor :item_id
# # The reason that merchant chooses to accept a return item.
# Corresponds to the JSON property `merchantReturnReason` # Corresponds to the JSON property `merchantReturnReason`
# @return [Google::Apis::ContentV2::RefundReason] # @return [Google::Apis::ContentV2::RefundReason]
attr_accessor :merchant_return_reason attr_accessor :merchant_return_reason
# # Product data from the time of the order placement.
# Corresponds to the JSON property `product` # Corresponds to the JSON property `product`
# @return [Google::Apis::ContentV2::OrderLineItemProduct] # @return [Google::Apis::ContentV2::OrderLineItemProduct]
attr_accessor :product attr_accessor :product
# # IDs of the return shipments that this return item belongs to.
# Corresponds to the JSON property `returnShipmentIds` # Corresponds to the JSON property `returnShipmentIds`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :return_shipment_ids attr_accessor :return_shipment_ids
# # State of the item.
# Corresponds to the JSON property `state` # Corresponds to the JSON property `state`
# @return [String] # @return [String]
attr_accessor :state attr_accessor :state
@ -5296,6 +5298,7 @@ module Google
# - "geodis" (GEODIS) # - "geodis" (GEODIS)
# - "tnt" (TNT) # - "tnt" (TNT)
# - "db schenker" (DB Schenker) # - "db schenker" (DB Schenker)
# - "aramex" (Aramex)
# Corresponds to the JSON property `carrier` # Corresponds to the JSON property `carrier`
# @return [String] # @return [String]
attr_accessor :carrier attr_accessor :carrier
@ -9975,12 +9978,12 @@ module Google
class RefundReason class RefundReason
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# # Description of the reason.
# Corresponds to the JSON property `description` # Corresponds to the JSON property `description`
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description
# # Code of the refund reason.
# Corresponds to the JSON property `reasonCode` # Corresponds to the JSON property `reasonCode`
# @return [String] # @return [String]
attr_accessor :reason_code attr_accessor :reason_code
@ -10000,37 +10003,38 @@ module Google
class ReturnShipment class ReturnShipment
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# # The date of creation of the shipment, in ISO 8601 format.
# Corresponds to the JSON property `creationDate` # Corresponds to the JSON property `creationDate`
# @return [String] # @return [String]
attr_accessor :creation_date attr_accessor :creation_date
# # The date of delivery of the shipment, in ISO 8601 format.
# Corresponds to the JSON property `deliveryDate` # Corresponds to the JSON property `deliveryDate`
# @return [String] # @return [String]
attr_accessor :delivery_date attr_accessor :delivery_date
# # Type of the return method.
# Corresponds to the JSON property `returnMethodType` # Corresponds to the JSON property `returnMethodType`
# @return [String] # @return [String]
attr_accessor :return_method_type attr_accessor :return_method_type
# # Shipment ID generated by Google.
# Corresponds to the JSON property `shipmentId` # Corresponds to the JSON property `shipmentId`
# @return [String] # @return [String]
attr_accessor :shipment_id 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` # Corresponds to the JSON property `shipmentTrackingInfos`
# @return [Array<Google::Apis::ContentV2::ShipmentTrackingInfo>] # @return [Array<Google::Apis::ContentV2::ShipmentTrackingInfo>]
attr_accessor :shipment_tracking_infos attr_accessor :shipment_tracking_infos
# # The date of shipping of the shipment, in ISO 8601 format.
# Corresponds to the JSON property `shippingDate` # Corresponds to the JSON property `shippingDate`
# @return [String] # @return [String]
attr_accessor :shipping_date attr_accessor :shipping_date
# # State of the shipment.
# Corresponds to the JSON property `state` # Corresponds to the JSON property `state`
# @return [String] # @return [String]
attr_accessor :state attr_accessor :state
@ -10232,12 +10236,12 @@ module Google
class ShipmentTrackingInfo class ShipmentTrackingInfo
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# # The shipping carrier that handles the package.
# Corresponds to the JSON property `carrier` # Corresponds to the JSON property `carrier`
# @return [String] # @return [String]
attr_accessor :carrier attr_accessor :carrier
# # The tracking number for the package.
# Corresponds to the JSON property `trackingNumber` # Corresponds to the JSON property `trackingNumber`
# @return [String] # @return [String]
attr_accessor :tracking_number attr_accessor :tracking_number

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content # @see https://developers.google.com/shopping-content
module ContentV2_1 module ContentV2_1
VERSION = 'V2_1' VERSION = 'V2_1'
REVISION = '20200117' REVISION = '20200219'
# 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

@ -1553,12 +1553,12 @@ module Google
class CustomerReturnReason class CustomerReturnReason
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# # Description of the reason.
# Corresponds to the JSON property `description` # Corresponds to the JSON property `description`
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description
# # Code of the return reason.
# Corresponds to the JSON property `reasonCode` # Corresponds to the JSON property `reasonCode`
# @return [String] # @return [String]
attr_accessor :reason_code attr_accessor :reason_code
@ -3410,36 +3410,37 @@ module Google
end end
end end
# # Order return. Production access (all methods) requires the order manager role.
# Sandbox access does not.
class MerchantOrderReturn class MerchantOrderReturn
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# # The date of creation of the return, in ISO 8601 format.
# Corresponds to the JSON property `creationDate` # Corresponds to the JSON property `creationDate`
# @return [String] # @return [String]
attr_accessor :creation_date attr_accessor :creation_date
# # Merchant defined order ID.
# Corresponds to the JSON property `merchantOrderId` # Corresponds to the JSON property `merchantOrderId`
# @return [String] # @return [String]
attr_accessor :merchant_order_id attr_accessor :merchant_order_id
# # Google order ID.
# Corresponds to the JSON property `orderId` # Corresponds to the JSON property `orderId`
# @return [String] # @return [String]
attr_accessor :order_id attr_accessor :order_id
# # Order return ID generated by Google.
# Corresponds to the JSON property `orderReturnId` # Corresponds to the JSON property `orderReturnId`
# @return [String] # @return [String]
attr_accessor :order_return_id attr_accessor :order_return_id
# # Items of the return.
# Corresponds to the JSON property `returnItems` # Corresponds to the JSON property `returnItems`
# @return [Array<Google::Apis::ContentV2_1::MerchantOrderReturnItem>] # @return [Array<Google::Apis::ContentV2_1::MerchantOrderReturnItem>]
attr_accessor :return_items attr_accessor :return_items
# # Shipments of the return.
# Corresponds to the JSON property `returnShipments` # Corresponds to the JSON property `returnShipments`
# @return [Array<Google::Apis::ContentV2_1::ReturnShipment>] # @return [Array<Google::Apis::ContentV2_1::ReturnShipment>]
attr_accessor :return_shipments attr_accessor :return_shipments
@ -3463,32 +3464,33 @@ module Google
class MerchantOrderReturnItem class MerchantOrderReturnItem
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# # The reason that the customer chooses to return an item.
# Corresponds to the JSON property `customerReturnReason` # Corresponds to the JSON property `customerReturnReason`
# @return [Google::Apis::ContentV2_1::CustomerReturnReason] # @return [Google::Apis::ContentV2_1::CustomerReturnReason]
attr_accessor :customer_return_reason 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` # Corresponds to the JSON property `itemId`
# @return [String] # @return [String]
attr_accessor :item_id attr_accessor :item_id
# # The reason that merchant chooses to accept a return item.
# Corresponds to the JSON property `merchantReturnReason` # Corresponds to the JSON property `merchantReturnReason`
# @return [Google::Apis::ContentV2_1::RefundReason] # @return [Google::Apis::ContentV2_1::RefundReason]
attr_accessor :merchant_return_reason attr_accessor :merchant_return_reason
# # Product data from the time of the order placement.
# Corresponds to the JSON property `product` # Corresponds to the JSON property `product`
# @return [Google::Apis::ContentV2_1::OrderLineItemProduct] # @return [Google::Apis::ContentV2_1::OrderLineItemProduct]
attr_accessor :product attr_accessor :product
# # IDs of the return shipments that this return item belongs to.
# Corresponds to the JSON property `returnShipmentIds` # Corresponds to the JSON property `returnShipmentIds`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :return_shipment_ids attr_accessor :return_shipment_ids
# # State of the item.
# Corresponds to the JSON property `state` # Corresponds to the JSON property `state`
# @return [String] # @return [String]
attr_accessor :state attr_accessor :state
@ -4778,6 +4780,7 @@ module Google
# - "geodis" (GEODIS) # - "geodis" (GEODIS)
# - "tnt" (TNT) # - "tnt" (TNT)
# - "db schenker" (DB Schenker) # - "db schenker" (DB Schenker)
# - "aramex" (Aramex)
# Corresponds to the JSON property `carrier` # Corresponds to the JSON property `carrier`
# @return [String] # @return [String]
attr_accessor :carrier attr_accessor :carrier
@ -8361,12 +8364,12 @@ module Google
class RefundReason class RefundReason
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# # Description of the reason.
# Corresponds to the JSON property `description` # Corresponds to the JSON property `description`
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description
# # Code of the refund reason.
# Corresponds to the JSON property `reasonCode` # Corresponds to the JSON property `reasonCode`
# @return [String] # @return [String]
attr_accessor :reason_code attr_accessor :reason_code
@ -8821,37 +8824,38 @@ module Google
class ReturnShipment class ReturnShipment
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# # The date of creation of the shipment, in ISO 8601 format.
# Corresponds to the JSON property `creationDate` # Corresponds to the JSON property `creationDate`
# @return [String] # @return [String]
attr_accessor :creation_date attr_accessor :creation_date
# # The date of delivery of the shipment, in ISO 8601 format.
# Corresponds to the JSON property `deliveryDate` # Corresponds to the JSON property `deliveryDate`
# @return [String] # @return [String]
attr_accessor :delivery_date attr_accessor :delivery_date
# # Type of the return method.
# Corresponds to the JSON property `returnMethodType` # Corresponds to the JSON property `returnMethodType`
# @return [String] # @return [String]
attr_accessor :return_method_type attr_accessor :return_method_type
# # Shipment ID generated by Google.
# Corresponds to the JSON property `shipmentId` # Corresponds to the JSON property `shipmentId`
# @return [String] # @return [String]
attr_accessor :shipment_id 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` # Corresponds to the JSON property `shipmentTrackingInfos`
# @return [Array<Google::Apis::ContentV2_1::ShipmentTrackingInfo>] # @return [Array<Google::Apis::ContentV2_1::ShipmentTrackingInfo>]
attr_accessor :shipment_tracking_infos attr_accessor :shipment_tracking_infos
# # The date of shipping of the shipment, in ISO 8601 format.
# Corresponds to the JSON property `shippingDate` # Corresponds to the JSON property `shippingDate`
# @return [String] # @return [String]
attr_accessor :shipping_date attr_accessor :shipping_date
# # State of the shipment.
# Corresponds to the JSON property `state` # Corresponds to the JSON property `state`
# @return [String] # @return [String]
attr_accessor :state attr_accessor :state
@ -9363,12 +9367,12 @@ module Google
class ShipmentTrackingInfo class ShipmentTrackingInfo
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# # The shipping carrier that handles the package.
# Corresponds to the JSON property `carrier` # Corresponds to the JSON property `carrier`
# @return [String] # @return [String]
attr_accessor :carrier attr_accessor :carrier
# # The tracking number for the package.
# Corresponds to the JSON property `trackingNumber` # Corresponds to the JSON property `trackingNumber`
# @return [String] # @return [String]
attr_accessor :tracking_number attr_accessor :tracking_number

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/youtube/partner/ # @see https://developers.google.com/youtube/partner/
module YoutubePartnerV1 module YoutubePartnerV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200212' REVISION = '20200226'
# View and manage your assets and associated content on YouTube # View and manage your assets and associated content on YouTube
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner' AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'