generated/google/apis/content_v2/classes.rb in google-api-client-0.25.0 vs generated/google/apis/content_v2/classes.rb in google-api-client-0.26.0
- old
+ new
@@ -21,11 +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.
+ # before it is fully operational. The methods delete, insert, patch, 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`
@@ -683,11 +684,11 @@
@expiring = args[:expiring] if args.key?(:expiring)
@pending = args[:pending] if args.key?(:pending)
end
end
- # The tax settings of a merchant account.
+ # The tax settings of a merchant account. All methods require the admin role.
class AccountTax
include Google::Apis::Core::Hashable
# The ID of the account to which these account tax settings belong.
# Corresponds to the JSON property `accountId`
@@ -896,11 +897,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.
+ # before it is fully operational. The methods delete, insert, patch, 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.
@@ -1020,11 +1022,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.
+ # before it is fully operational. The methods delete, insert, patch, 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.
@@ -1325,11 +1328,11 @@
# The ID of the account for which to get/update account tax settings.
# Corresponds to the JSON property `accountId`
# @return [Fixnum]
attr_accessor :account_id
- # The tax settings of a merchant account.
+ # The tax settings of a merchant account. All methods require the admin role.
# Corresponds to the JSON property `accountTax`
# @return [Google::Apis::ContentV2::AccountTax]
attr_accessor :account_tax
# An entry ID, unique within the batch request.
@@ -1389,11 +1392,11 @@
# A batch entry encoding a single non-batch accounttax response.
class AccountTaxBatchResponseEntry
include Google::Apis::Core::Hashable
- # The tax settings of a merchant account.
+ # The tax settings of a merchant account. All methods require the admin role.
# Corresponds to the JSON property `accountTax`
# @return [Google::Apis::ContentV2::AccountTax]
attr_accessor :account_tax
# The ID of the request entry this entry responds to.
@@ -3443,11 +3446,12 @@
@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
- #
+ # Local Inventory ads (LIA) settings. All methods except listposdataproviders
+ # require the admin role.
class LiaSettings
include Google::Apis::Core::Hashable
# The ID of the account to which these LIA settings belong. Ignored upon update,
# always present in get request responses.
@@ -3531,11 +3535,12 @@
# The GMB account. Required only for RequestGmbAccess.
# Corresponds to the JSON property `gmbEmail`
# @return [String]
attr_accessor :gmb_email
- # The account Lia settings to update. Only defined if the method is update.
+ # Local Inventory ads (LIA) settings. All methods except listposdataproviders
+ # require the admin role.
# Corresponds to the JSON property `liaSettings`
# @return [Google::Apis::ContentV2::LiaSettings]
attr_accessor :lia_settings
# The ID of the managing account.
@@ -3627,11 +3632,12 @@
# liasettingsCustomBatchResponseEntry".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- # The retrieved or updated Lia settings.
+ # Local Inventory ads (LIA) settings. All methods except listposdataproviders
+ # require the admin role.
# Corresponds to the JSON property `liaSettings`
# @return [Google::Apis::ContentV2::LiaSettings]
attr_accessor :lia_settings
# The list of POS data providers.
@@ -3973,11 +3979,11 @@
@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.
class Order
include Google::Apis::Core::Hashable
# Whether the order was acknowledged.
# Corresponds to the JSON property `acknowledged`
@@ -4455,11 +4461,13 @@
# the total price will be $20.
# Corresponds to the JSON property `price`
# @return [Google::Apis::ContentV2::Price]
attr_accessor :price
- # Product data from the time of the order placement.
+ # Product data as seen by customer from the time of the order placement. Note
+ # that certain attributes values (e.g. title or gtin) might be reformatted and
+ # no longer match values submitted via product feed.
# Corresponds to the JSON property `product`
# @return [Google::Apis::ContentV2::OrderLineItemProduct]
attr_accessor :product
# Number of items canceled.
@@ -4655,15 +4663,10 @@
# Amount of the fee.
# Corresponds to the JSON property `amount`
# @return [Google::Apis::ContentV2::Price]
attr_accessor :amount
- # Case-insensitive fee ID.
- # Corresponds to the JSON property `id`
- # @return [String]
- attr_accessor :id
-
# Name of the fee.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@@ -4672,11 +4675,10 @@
end
# Update properties of this object
def update!(**args)
@amount = args[:amount] if args.key?(:amount)
- @id = args[:id] if args.key?(:id)
@name = args[:name] if args.key?(:name)
end
end
#
@@ -4930,11 +4932,11 @@
@reason = args[:reason] if args.key?(:reason)
@reason_text = args[:reason_text] if args.key?(:reason_text)
end
end
- #
+ # Order disbursement. All methods require the payment analyst role.
class OrderReportDisbursement
include Google::Apis::Core::Hashable
# The disbursement amount.
# Corresponds to the JSON property `disbursementAmount`
@@ -5088,11 +5090,11 @@
#
class OrderShipment
include Google::Apis::Core::Hashable
# The carrier handling the shipment.
- # Acceptable values are:
+ # Acceptable values for US are:
# - "gsx"
# - "ups"
# - "usps"
# - "fedex"
# - "dhl"
@@ -5105,10 +5107,13 @@
# - "deliv"
# - "dynamex"
# - "lasership"
# - "mpx"
# - "uds"
+ # Acceptable values for FR are:
+ # - "colissimo"
+ # - "chronopost"
# Corresponds to the JSON property `carrier`
# @return [String]
attr_accessor :carrier
# Date on which the shipment has been created, in ISO 8601 format.
@@ -6806,12 +6811,11 @@
# ordersCustomBatchResponseEntry".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- # The retrieved order. Only defined if the method is get and if the request was
- # successful.
+ # Order. All methods require the order manager role.
# Corresponds to the JSON property `order`
# @return [Google::Apis::ContentV2::Order]
attr_accessor :order
def initialize(**args)
@@ -6836,11 +6840,11 @@
# ordersGetByMerchantOrderIdResponse".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- # The requested order.
+ # Order. All methods require the order manager role.
# Corresponds to the JSON property `order`
# @return [Google::Apis::ContentV2::Order]
attr_accessor :order
def initialize(**args)
@@ -8445,11 +8449,12 @@
@currency = args[:currency] if args.key?(:currency)
@value = args[:value] if args.key?(:value)
end
end
- # Product data.
+ # Product data. After inserting, updating, or deleting a product, it may take
+ # several minutes before changes take effect.
class Product
include Google::Apis::Core::Hashable
# Additional URLs of images of the item.
# Corresponds to the JSON property `additionalImageLinks`
@@ -9074,13 +9079,10 @@
#
class ProductShippingDimension
include Google::Apis::Core::Hashable
# The unit of value.
- # Acceptable values are:
- # - "cm"
- # - "in"
# Corresponds to the JSON property `unit`
# @return [String]
attr_accessor :unit
# The dimension of the product used to calculate the shipping cost of the item.
@@ -9168,11 +9170,12 @@
# The link to the product.
# Corresponds to the JSON property `link`
# @return [String]
attr_accessor :link
- # Product data.
+ # Product data. After inserting, updating, or deleting a product, it may take
+ # several minutes before changes take effect.
# Corresponds to the JSON property `product`
# @return [Google::Apis::ContentV2::Product]
attr_accessor :product
# The id of the product for which status is reported.
@@ -9510,11 +9513,12 @@
#
# Corresponds to the JSON property `method`
# @return [String]
attr_accessor :request_method
- # Product data.
+ # Product data. After inserting, updating, or deleting a product, it may take
+ # several minutes before changes take effect.
# Corresponds to the JSON property `product`
# @return [Google::Apis::ContentV2::Product]
attr_accessor :product
# The ID of the product to get or delete. Only defined if the method is get or
@@ -9581,11 +9585,12 @@
# productsCustomBatchResponseEntry".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- # Product data.
+ # Product data. After inserting, updating, or deleting a product, it may take
+ # several minutes before changes take effect.
# Corresponds to the JSON property `product`
# @return [Google::Apis::ContentV2::Product]
attr_accessor :product
def initialize(**args)
@@ -10126,11 +10131,12 @@
@carrier = args[:carrier] if args.key?(:carrier)
@tracking_number = args[:tracking_number] if args.key?(:tracking_number)
end
end
- # The merchant account's shipping settings.
+ # The merchant account's shipping settings. All methods except
+ # getsupportedcarriers and getsupportedholidays require the admin role.
class ShippingSettings
include Google::Apis::Core::Hashable
# The ID of the account to which these account shipping settings belong. Ignored
# upon update, always present in get request responses.
@@ -10201,11 +10207,12 @@
#
# Corresponds to the JSON property `method`
# @return [String]
attr_accessor :method_prop
- # The merchant account's shipping settings.
+ # The merchant account's shipping settings. All methods except
+ # getsupportedcarriers and getsupportedholidays require the admin role.
# Corresponds to the JSON property `shippingSettings`
# @return [Google::Apis::ContentV2::ShippingSettings]
attr_accessor :shipping_settings
def initialize(**args)
@@ -10266,10 +10273,11 @@
# shippingsettingsCustomBatchResponseEntry".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
- # The merchant account's shipping settings.
+ # The merchant account's shipping settings. All methods except
+ # getsupportedcarriers and getsupportedholidays require the admin role.
# Corresponds to the JSON property `shippingSettings`
# @return [Google::Apis::ContentV2::ShippingSettings]
attr_accessor :shipping_settings
def initialize(**args)