generated/google/apis/content_v2/classes.rb in google-api-client-0.32.1 vs generated/google/apis/content_v2/classes.rb in google-api-client-0.33.0
- old
+ new
@@ -21,12 +21,12 @@
module Google
module Apis
module ContentV2
# Account data. After the creation of a new account it may take a few minutes
- # before it is fully operational. The methods delete, insert, patch, and update
- # require the admin role.
+ # before it is fully operational. The methods delete, insert, and update require
+ # the admin role.
class Account
include Google::Apis::Core::Hashable
# Indicates whether the merchant sells adult content.
# Corresponds to the JSON property `adultContent`
@@ -917,12 +917,12 @@
# A batch entry encoding a single non-batch accounts request.
class AccountsBatchRequestEntry
include Google::Apis::Core::Hashable
# Account data. After the creation of a new account it may take a few minutes
- # before it is fully operational. The methods delete, insert, patch, and update
- # require the admin role.
+ # before it is fully operational. The methods delete, insert, and update require
+ # the admin role.
# Corresponds to the JSON property `account`
# @return [Google::Apis::ContentV2::Account]
attr_accessor :account
# The ID of the targeted account. Only defined if the method is not insert.
@@ -1042,12 +1042,12 @@
# A batch entry encoding a single non-batch accounts response.
class AccountsBatchResponseEntry
include Google::Apis::Core::Hashable
# Account data. After the creation of a new account it may take a few minutes
- # before it is fully operational. The methods delete, insert, patch, and update
- # require the admin role.
+ # before it is fully operational. The methods delete, insert, and update require
+ # the admin role.
# Corresponds to the JSON property `account`
# @return [Google::Apis::ContentV2::Account]
attr_accessor :account
# The ID of the request entry this entry responds to.
@@ -2099,10 +2099,15 @@
attr_accessor :excluded_destinations
# The list of destinations to include for this target (corresponds to checked
# check boxes in Merchant Center). Default destinations are always included
# unless provided in excludedDestinations.
+ # List of supported destinations (if available to the account):
+ # - DisplayAds
+ # - Shopping
+ # - ShoppingActions
+ # - SurfacesAcrossGoogle
# Corresponds to the JSON property `includedDestinations`
# @return [Array<String>]
attr_accessor :included_destinations
# The two-letter ISO 639-1 language of the items in the feed. Must be a valid
@@ -4031,11 +4036,12 @@
@return_shipment_ids = args[:return_shipment_ids] if args.key?(:return_shipment_ids)
@state = args[:state] if args.key?(:state)
end
end
- # Order. All methods require the order manager role.
+ # Order. Production access (all methods) requires the order manager role.
+ # Sandbox access does not.
class Order
include Google::Apis::Core::Hashable
# Whether the order was acknowledged.
# Corresponds to the JSON property `acknowledged`
@@ -5263,19 +5269,22 @@
# - "dynamex"
# - "lasership"
# - "mpx"
# - "uds"
# - "efw"
+ # - "jd logistics"
# Acceptable values for FR are:
# - "colissimo"
# - "chronopost"
# - "gls"
# - "dpd"
# - "bpost"
# - "colis prive"
# - "boxtal"
# - "geodis"
+ # - "tnt"
+ # - "la poste"
# Corresponds to the JSON property `carrier`
# @return [String]
attr_accessor :carrier
# Date on which the shipment has been created, in ISO 8601 format.
@@ -5551,220 +5560,10 @@
@reason = args[:reason] if args.key?(:reason)
end
end
#
- class OrderpaymentsNotifyAuthApprovedRequest
- include Google::Apis::Core::Hashable
-
- # Authorized amount for pre-tax charge on user's credit card.
- # Corresponds to the JSON property `authAmountPretax`
- # @return [Google::Apis::ContentV2::Price]
- attr_accessor :auth_amount_pretax
-
- # Authorized amount for tax charge on user's credit card.
- # Corresponds to the JSON property `authAmountTax`
- # @return [Google::Apis::ContentV2::Price]
- attr_accessor :auth_amount_tax
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @auth_amount_pretax = args[:auth_amount_pretax] if args.key?(:auth_amount_pretax)
- @auth_amount_tax = args[:auth_amount_tax] if args.key?(:auth_amount_tax)
- end
- end
-
- #
- class OrderpaymentsNotifyAuthApprovedResponse
- include Google::Apis::Core::Hashable
-
- # The status of the execution.
- # Corresponds to the JSON property `executionStatus`
- # @return [String]
- attr_accessor :execution_status
-
- # Identifies what kind of resource this is. Value: the fixed string "content#
- # orderpaymentsNotifyAuthApprovedResponse".
- # 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)
- @execution_status = args[:execution_status] if args.key?(:execution_status)
- @kind = args[:kind] if args.key?(:kind)
- end
- end
-
- #
- class OrderpaymentsNotifyAuthDeclinedRequest
- include Google::Apis::Core::Hashable
-
- # Reason why payment authorization was declined.
- # Corresponds to the JSON property `declineReason`
- # @return [String]
- attr_accessor :decline_reason
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @decline_reason = args[:decline_reason] if args.key?(:decline_reason)
- end
- end
-
- #
- class OrderpaymentsNotifyAuthDeclinedResponse
- include Google::Apis::Core::Hashable
-
- # The status of the execution.
- # Corresponds to the JSON property `executionStatus`
- # @return [String]
- attr_accessor :execution_status
-
- # Identifies what kind of resource this is. Value: the fixed string "content#
- # orderpaymentsNotifyAuthDeclinedResponse".
- # 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)
- @execution_status = args[:execution_status] if args.key?(:execution_status)
- @kind = args[:kind] if args.key?(:kind)
- end
- end
-
- #
- class OrderpaymentsNotifyChargeRequest
- include Google::Apis::Core::Hashable
-
- # Whether charge was successful.
- # Corresponds to the JSON property `chargeState`
- # @return [String]
- attr_accessor :charge_state
-
- # Deprecated. Please use invoiceIds instead.
- # Corresponds to the JSON property `invoiceId`
- # @return [String]
- attr_accessor :invoice_id
-
- # Invoice IDs from the orderinvoices service that correspond to the charge.
- # Corresponds to the JSON property `invoiceIds`
- # @return [Array<String>]
- attr_accessor :invoice_ids
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @charge_state = args[:charge_state] if args.key?(:charge_state)
- @invoice_id = args[:invoice_id] if args.key?(:invoice_id)
- @invoice_ids = args[:invoice_ids] if args.key?(:invoice_ids)
- end
- end
-
- #
- class OrderpaymentsNotifyChargeResponse
- include Google::Apis::Core::Hashable
-
- # The status of the execution.
- # Corresponds to the JSON property `executionStatus`
- # @return [String]
- attr_accessor :execution_status
-
- # Identifies what kind of resource this is. Value: the fixed string "content#
- # orderpaymentsNotifyChargeResponse".
- # 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)
- @execution_status = args[:execution_status] if args.key?(:execution_status)
- @kind = args[:kind] if args.key?(:kind)
- end
- end
-
- #
- class OrderpaymentsNotifyRefundRequest
- include Google::Apis::Core::Hashable
-
- # Deprecated. Please use invoiceIds instead.
- # Corresponds to the JSON property `invoiceId`
- # @return [String]
- attr_accessor :invoice_id
-
- # Invoice IDs from the orderinvoices service that correspond to the refund.
- # Corresponds to the JSON property `invoiceIds`
- # @return [Array<String>]
- attr_accessor :invoice_ids
-
- # Whether refund was successful.
- # Corresponds to the JSON property `refundState`
- # @return [String]
- attr_accessor :refund_state
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @invoice_id = args[:invoice_id] if args.key?(:invoice_id)
- @invoice_ids = args[:invoice_ids] if args.key?(:invoice_ids)
- @refund_state = args[:refund_state] if args.key?(:refund_state)
- end
- end
-
- #
- class OrderpaymentsNotifyRefundResponse
- include Google::Apis::Core::Hashable
-
- # The status of the execution.
- # Corresponds to the JSON property `executionStatus`
- # @return [String]
- attr_accessor :execution_status
-
- # Identifies what kind of resource this is. Value: the fixed string "content#
- # orderpaymentsNotifyRefundResponse".
- # 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)
- @execution_status = args[:execution_status] if args.key?(:execution_status)
- @kind = args[:kind] if args.key?(:kind)
- end
- end
-
- #
class OrderreportsListDisbursementsResponse
include Google::Apis::Core::Hashable
# The list of disbursements.
# Corresponds to the JSON property `disbursements`
@@ -6985,11 +6784,12 @@
# ordersCustomBatchResponseEntry".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- # Order. All methods require the order manager role.
+ # Order. Production access (all methods) requires the order manager role.
+ # Sandbox access does not.
# Corresponds to the JSON property `order`
# @return [Google::Apis::ContentV2::Order]
attr_accessor :order
def initialize(**args)
@@ -7014,11 +6814,12 @@
# ordersGetByMerchantOrderIdResponse".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- # Order. All methods require the order manager role.
+ # Order. Production access (all methods) requires the order manager role.
+ # Sandbox access does not.
# Corresponds to the JSON property `order`
# @return [Google::Apis::ContentV2::Order]
attr_accessor :order
def initialize(**args)
@@ -9005,10 +8806,12 @@
# The cut of the item. Recommended for apparel items.
# Corresponds to the JSON property `sizeType`
# @return [String]
attr_accessor :size_type
- # Size of the item.
+ # Size of the item. Only one value is allowed. For variants with different sizes,
+ # insert a separate product for each size with the same itemGroupId value (see
+ # size definition).
# Corresponds to the JSON property `sizes`
# @return [Array<String>]
attr_accessor :sizes
# The source of the offer, i.e., how the offer was created.