generated/google/apis/content_v2/classes.rb in google-api-client-0.11.3 vs generated/google/apis/content_v2/classes.rb in google-api-client-0.12.0
- old
+ new
@@ -467,16 +467,16 @@
@kind = args[:kind] if args.key?(:kind)
end
end
#
- class BatchAccountsRequest
+ class AccountsCustomBatchRequest
include Google::Apis::Core::Hashable
# The request entries to be processed in the batch.
# Corresponds to the JSON property `entries`
- # @return [Array<Google::Apis::ContentV2::AccountsBatchRequestEntry>]
+ # @return [Array<Google::Apis::ContentV2::AccountsCustomBatchRequestEntry>]
attr_accessor :entries
def initialize(**args)
update!(**args)
end
@@ -486,11 +486,11 @@
@entries = args[:entries] if args.key?(:entries)
end
end
# A batch entry encoding a single non-batch accounts request.
- class AccountsBatchRequestEntry
+ class AccountsCustomBatchRequestEntry
include Google::Apis::Core::Hashable
# Account data.
# Corresponds to the JSON property `account`
# @return [Google::Apis::ContentV2::Account]
@@ -513,11 +513,11 @@
attr_accessor :merchant_id
#
# Corresponds to the JSON property `method`
# @return [String]
- attr_accessor :request_method
+ attr_accessor :method_prop
# Only applicable if the method is claimwebsite. Indicates whether or not to
# take the claim from another account in case there is a conflict.
# Corresponds to the JSON property `overwrite`
# @return [Boolean]
@@ -532,22 +532,22 @@
def update!(**args)
@account = args[:account] if args.key?(:account)
@account_id = args[:account_id] if args.key?(:account_id)
@batch_id = args[:batch_id] if args.key?(:batch_id)
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
- @request_method = args[:request_method] if args.key?(:request_method)
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
@overwrite = args[:overwrite] if args.key?(:overwrite)
end
end
#
- class BatchAccountsResponse
+ class AccountsCustomBatchResponse
include Google::Apis::Core::Hashable
# The result of the execution of the batch requests.
# Corresponds to the JSON property `entries`
- # @return [Array<Google::Apis::ContentV2::AccountsBatchResponseEntry>]
+ # @return [Array<Google::Apis::ContentV2::AccountsCustomBatchResponseEntry>]
attr_accessor :entries
# Identifies what kind of resource this is. Value: the fixed string "content#
# accountsCustomBatchResponse".
# Corresponds to the JSON property `kind`
@@ -564,11 +564,11 @@
@kind = args[:kind] if args.key?(:kind)
end
end
# A batch entry encoding a single non-batch accounts response.
- class AccountsBatchResponseEntry
+ class AccountsCustomBatchResponseEntry
include Google::Apis::Core::Hashable
# Account data.
# Corresponds to the JSON property `account`
# @return [Google::Apis::ContentV2::Account]
@@ -602,11 +602,11 @@
@kind = args[:kind] if args.key?(:kind)
end
end
#
- class ListAccountsResponse
+ class AccountsListResponse
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "content#
# accountsListResponse".
# Corresponds to the JSON property `kind`
@@ -634,16 +634,16 @@
@resources = args[:resources] if args.key?(:resources)
end
end
#
- class BatchAccountStatusesRequest
+ class AccountstatusesCustomBatchRequest
include Google::Apis::Core::Hashable
# The request entries to be processed in the batch.
# Corresponds to the JSON property `entries`
- # @return [Array<Google::Apis::ContentV2::AccountStatusesBatchRequestEntry>]
+ # @return [Array<Google::Apis::ContentV2::AccountstatusesCustomBatchRequestEntry>]
attr_accessor :entries
def initialize(**args)
update!(**args)
end
@@ -653,11 +653,11 @@
@entries = args[:entries] if args.key?(:entries)
end
end
# A batch entry encoding a single non-batch accountstatuses request.
- class AccountStatusesBatchRequestEntry
+ class AccountstatusesCustomBatchRequestEntry
include Google::Apis::Core::Hashable
# The ID of the (sub-)account whose status to get.
# Corresponds to the JSON property `accountId`
# @return [Fixnum]
@@ -674,32 +674,32 @@
attr_accessor :merchant_id
# The method (get).
# Corresponds to the JSON property `method`
# @return [String]
- attr_accessor :request_method
+ attr_accessor :method_prop
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@account_id = args[:account_id] if args.key?(:account_id)
@batch_id = args[:batch_id] if args.key?(:batch_id)
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
- @request_method = args[:request_method] if args.key?(:request_method)
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
end
end
#
- class BatchAccountStatusesResponse
+ class AccountstatusesCustomBatchResponse
include Google::Apis::Core::Hashable
# The result of the execution of the batch requests.
# Corresponds to the JSON property `entries`
- # @return [Array<Google::Apis::ContentV2::AccountStatusesBatchResponseEntry>]
+ # @return [Array<Google::Apis::ContentV2::AccountstatusesCustomBatchResponseEntry>]
attr_accessor :entries
# Identifies what kind of resource this is. Value: the fixed string "content#
# accountstatusesCustomBatchResponse".
# Corresponds to the JSON property `kind`
@@ -716,11 +716,11 @@
@kind = args[:kind] if args.key?(:kind)
end
end
# A batch entry encoding a single non-batch accountstatuses response.
- class AccountStatusesBatchResponseEntry
+ class AccountstatusesCustomBatchResponseEntry
include Google::Apis::Core::Hashable
# The status of an account, i.e., information about its products, which is
# computed offline and not returned immediately at insertion time.
# Corresponds to the JSON property `accountStatus`
@@ -748,11 +748,11 @@
@errors = args[:errors] if args.key?(:errors)
end
end
#
- class ListAccountStatusesResponse
+ class AccountstatusesListResponse
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "content#
# accountstatusesListResponse".
# Corresponds to the JSON property `kind`
@@ -780,16 +780,16 @@
@resources = args[:resources] if args.key?(:resources)
end
end
#
- class BatchAccountTaxRequest
+ class AccounttaxCustomBatchRequest
include Google::Apis::Core::Hashable
# The request entries to be processed in the batch.
# Corresponds to the JSON property `entries`
- # @return [Array<Google::Apis::ContentV2::AccountTaxBatchRequestEntry>]
+ # @return [Array<Google::Apis::ContentV2::AccounttaxCustomBatchRequestEntry>]
attr_accessor :entries
def initialize(**args)
update!(**args)
end
@@ -799,11 +799,11 @@
@entries = args[:entries] if args.key?(:entries)
end
end
# A batch entry encoding a single non-batch accounttax request.
- class AccountTaxBatchRequestEntry
+ class AccounttaxCustomBatchRequestEntry
include Google::Apis::Core::Hashable
# The ID of the account for which to get/update account tax settings.
# Corresponds to the JSON property `accountId`
# @return [Fixnum]
@@ -825,11 +825,11 @@
attr_accessor :merchant_id
#
# Corresponds to the JSON property `method`
# @return [String]
- attr_accessor :request_method
+ attr_accessor :method_prop
def initialize(**args)
update!(**args)
end
@@ -837,21 +837,21 @@
def update!(**args)
@account_id = args[:account_id] if args.key?(:account_id)
@account_tax = args[:account_tax] if args.key?(:account_tax)
@batch_id = args[:batch_id] if args.key?(:batch_id)
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
- @request_method = args[:request_method] if args.key?(:request_method)
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
end
end
#
- class BatchAccountTaxResponse
+ class AccounttaxCustomBatchResponse
include Google::Apis::Core::Hashable
# The result of the execution of the batch requests.
# Corresponds to the JSON property `entries`
- # @return [Array<Google::Apis::ContentV2::AccountTaxBatchResponseEntry>]
+ # @return [Array<Google::Apis::ContentV2::AccounttaxCustomBatchResponseEntry>]
attr_accessor :entries
# Identifies what kind of resource this is. Value: the fixed string "content#
# accounttaxCustomBatchResponse".
# Corresponds to the JSON property `kind`
@@ -868,11 +868,11 @@
@kind = args[:kind] if args.key?(:kind)
end
end
# A batch entry encoding a single non-batch accounttax response.
- class AccountTaxBatchResponseEntry
+ class AccounttaxCustomBatchResponseEntry
include Google::Apis::Core::Hashable
# The tax settings of a merchant account.
# Corresponds to the JSON property `accountTax`
# @return [Google::Apis::ContentV2::AccountTax]
@@ -906,11 +906,11 @@
@kind = args[:kind] if args.key?(:kind)
end
end
#
- class ListAccountTaxResponse
+ class AccounttaxListResponse
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "content#
# accounttaxListResponse".
# Corresponds to the JSON property `kind`
@@ -1346,16 +1346,16 @@
@value = args[:value] if args.key?(:value)
end
end
#
- class BatchDatafeedsRequest
+ class DatafeedsCustomBatchRequest
include Google::Apis::Core::Hashable
# The request entries to be processed in the batch.
# Corresponds to the JSON property `entries`
- # @return [Array<Google::Apis::ContentV2::DatafeedsBatchRequestEntry>]
+ # @return [Array<Google::Apis::ContentV2::DatafeedsCustomBatchRequestEntry>]
attr_accessor :entries
def initialize(**args)
update!(**args)
end
@@ -1365,11 +1365,11 @@
@entries = args[:entries] if args.key?(:entries)
end
end
# A batch entry encoding a single non-batch datafeeds request.
- class DatafeedsBatchRequestEntry
+ class DatafeedsCustomBatchRequestEntry
include Google::Apis::Core::Hashable
# An entry ID, unique within the batch request.
# Corresponds to the JSON property `batchId`
# @return [Fixnum]
@@ -1391,11 +1391,11 @@
attr_accessor :merchant_id
#
# Corresponds to the JSON property `method`
# @return [String]
- attr_accessor :request_method
+ attr_accessor :method_prop
def initialize(**args)
update!(**args)
end
@@ -1403,21 +1403,21 @@
def update!(**args)
@batch_id = args[:batch_id] if args.key?(:batch_id)
@datafeed = args[:datafeed] if args.key?(:datafeed)
@datafeed_id = args[:datafeed_id] if args.key?(:datafeed_id)
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
- @request_method = args[:request_method] if args.key?(:request_method)
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
end
end
#
- class BatchDatafeedsResponse
+ class DatafeedsCustomBatchResponse
include Google::Apis::Core::Hashable
# The result of the execution of the batch requests.
# Corresponds to the JSON property `entries`
- # @return [Array<Google::Apis::ContentV2::DatafeedsBatchResponseEntry>]
+ # @return [Array<Google::Apis::ContentV2::DatafeedsCustomBatchResponseEntry>]
attr_accessor :entries
# Identifies what kind of resource this is. Value: the fixed string "content#
# datafeedsCustomBatchResponse".
# Corresponds to the JSON property `kind`
@@ -1434,11 +1434,11 @@
@kind = args[:kind] if args.key?(:kind)
end
end
# A batch entry encoding a single non-batch datafeeds response.
- class DatafeedsBatchResponseEntry
+ class DatafeedsCustomBatchResponseEntry
include Google::Apis::Core::Hashable
# The ID of the request entry this entry responds to.
# Corresponds to the JSON property `batchId`
# @return [Fixnum]
@@ -1465,11 +1465,11 @@
@errors = args[:errors] if args.key?(:errors)
end
end
#
- class ListDatafeedsResponse
+ class DatafeedsListResponse
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "content#
# datafeedsListResponse".
# Corresponds to the JSON property `kind`
@@ -1497,16 +1497,16 @@
@resources = args[:resources] if args.key?(:resources)
end
end
#
- class BatchDatafeedStatusesRequest
+ class DatafeedstatusesCustomBatchRequest
include Google::Apis::Core::Hashable
# The request entries to be processed in the batch.
# Corresponds to the JSON property `entries`
- # @return [Array<Google::Apis::ContentV2::DatafeedStatusesBatchRequestEntry>]
+ # @return [Array<Google::Apis::ContentV2::DatafeedstatusesCustomBatchRequestEntry>]
attr_accessor :entries
def initialize(**args)
update!(**args)
end
@@ -1516,11 +1516,11 @@
@entries = args[:entries] if args.key?(:entries)
end
end
# A batch entry encoding a single non-batch datafeedstatuses request.
- class DatafeedStatusesBatchRequestEntry
+ class DatafeedstatusesCustomBatchRequestEntry
include Google::Apis::Core::Hashable
# An entry ID, unique within the batch request.
# Corresponds to the JSON property `batchId`
# @return [Fixnum]
@@ -1537,32 +1537,32 @@
attr_accessor :merchant_id
#
# Corresponds to the JSON property `method`
# @return [String]
- attr_accessor :request_method
+ attr_accessor :method_prop
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@batch_id = args[:batch_id] if args.key?(:batch_id)
@datafeed_id = args[:datafeed_id] if args.key?(:datafeed_id)
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
- @request_method = args[:request_method] if args.key?(:request_method)
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
end
end
#
- class BatchDatafeedStatusesResponse
+ class DatafeedstatusesCustomBatchResponse
include Google::Apis::Core::Hashable
# The result of the execution of the batch requests.
# Corresponds to the JSON property `entries`
- # @return [Array<Google::Apis::ContentV2::DatafeedStatusesBatchResponseEntry>]
+ # @return [Array<Google::Apis::ContentV2::DatafeedstatusesCustomBatchResponseEntry>]
attr_accessor :entries
# Identifies what kind of resource this is. Value: the fixed string "content#
# datafeedstatusesCustomBatchResponse".
# Corresponds to the JSON property `kind`
@@ -1579,11 +1579,11 @@
@kind = args[:kind] if args.key?(:kind)
end
end
# A batch entry encoding a single non-batch datafeedstatuses response.
- class DatafeedStatusesBatchResponseEntry
+ class DatafeedstatusesCustomBatchResponseEntry
include Google::Apis::Core::Hashable
# The ID of the request entry this entry responds to.
# Corresponds to the JSON property `batchId`
# @return [Fixnum]
@@ -1611,11 +1611,11 @@
@errors = args[:errors] if args.key?(:errors)
end
end
#
- class ListDatafeedStatusesResponse
+ class DatafeedstatusesListResponse
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "content#
# datafeedstatusesListResponse".
# Corresponds to the JSON property `kind`
@@ -1896,16 +1896,16 @@
@sell_on_google_quantity = args[:sell_on_google_quantity] if args.key?(:sell_on_google_quantity)
end
end
#
- class BatchInventoryRequest
+ class InventoryCustomBatchRequest
include Google::Apis::Core::Hashable
# The request entries to be processed in the batch.
# Corresponds to the JSON property `entries`
- # @return [Array<Google::Apis::ContentV2::InventoryBatchRequestEntry>]
+ # @return [Array<Google::Apis::ContentV2::InventoryCustomBatchRequestEntry>]
attr_accessor :entries
def initialize(**args)
update!(**args)
end
@@ -1915,11 +1915,11 @@
@entries = args[:entries] if args.key?(:entries)
end
end
# A batch entry encoding a single non-batch inventory request.
- class InventoryBatchRequestEntry
+ class InventoryCustomBatchRequestEntry
include Google::Apis::Core::Hashable
# An entry ID, unique within the batch request.
# Corresponds to the JSON property `batchId`
# @return [Fixnum]
@@ -1959,16 +1959,16 @@
@store_code = args[:store_code] if args.key?(:store_code)
end
end
#
- class BatchInventoryResponse
+ class InventoryCustomBatchResponse
include Google::Apis::Core::Hashable
# The result of the execution of the batch requests.
# Corresponds to the JSON property `entries`
- # @return [Array<Google::Apis::ContentV2::InventoryBatchResponseEntry>]
+ # @return [Array<Google::Apis::ContentV2::InventoryCustomBatchResponseEntry>]
attr_accessor :entries
# Identifies what kind of resource this is. Value: the fixed string "content#
# inventoryCustomBatchResponse".
# Corresponds to the JSON property `kind`
@@ -1985,11 +1985,11 @@
@kind = args[:kind] if args.key?(:kind)
end
end
# A batch entry encoding a single non-batch inventory response.
- class InventoryBatchResponseEntry
+ class InventoryCustomBatchResponseEntry
include Google::Apis::Core::Hashable
# The ID of the request entry this entry responds to.
# Corresponds to the JSON property `batchId`
# @return [Fixnum]
@@ -2047,11 +2047,11 @@
@pickup_sla = args[:pickup_sla] if args.key?(:pickup_sla)
end
end
#
- class SetInventoryRequest
+ class InventorySetRequest
include Google::Apis::Core::Hashable
# The availability of the product.
# Corresponds to the JSON property `availability`
# @return [String]
@@ -2121,11 +2121,11 @@
@sell_on_google_quantity = args[:sell_on_google_quantity] if args.key?(:sell_on_google_quantity)
end
end
#
- class SetInventoryResponse
+ class InventorySetResponse
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "content#
# inventorySetResponse".
# Corresponds to the JSON property `kind`
@@ -5258,16 +5258,16 @@
@value = args[:value] if args.key?(:value)
end
end
#
- class BatchProductsRequest
+ class ProductsCustomBatchRequest
include Google::Apis::Core::Hashable
# The request entries to be processed in the batch.
# Corresponds to the JSON property `entries`
- # @return [Array<Google::Apis::ContentV2::ProductsBatchRequestEntry>]
+ # @return [Array<Google::Apis::ContentV2::ProductsCustomBatchRequestEntry>]
attr_accessor :entries
def initialize(**args)
update!(**args)
end
@@ -5277,11 +5277,11 @@
@entries = args[:entries] if args.key?(:entries)
end
end
# A batch entry encoding a single non-batch products request.
- class ProductsBatchRequestEntry
+ class ProductsCustomBatchRequestEntry
include Google::Apis::Core::Hashable
# An entry ID, unique within the batch request.
# Corresponds to the JSON property `batchId`
# @return [Fixnum]
@@ -5293,11 +5293,11 @@
attr_accessor :merchant_id
#
# Corresponds to the JSON property `method`
# @return [String]
- attr_accessor :request_method
+ attr_accessor :method_prop
# Product data.
# Corresponds to the JSON property `product`
# @return [Google::Apis::ContentV2::Product]
attr_accessor :product
@@ -5314,23 +5314,23 @@
# Update properties of this object
def update!(**args)
@batch_id = args[:batch_id] if args.key?(:batch_id)
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
- @request_method = args[:request_method] if args.key?(:request_method)
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
@product = args[:product] if args.key?(:product)
@product_id = args[:product_id] if args.key?(:product_id)
end
end
#
- class BatchProductsResponse
+ class ProductsCustomBatchResponse
include Google::Apis::Core::Hashable
# The result of the execution of the batch requests.
# Corresponds to the JSON property `entries`
- # @return [Array<Google::Apis::ContentV2::ProductsBatchResponseEntry>]
+ # @return [Array<Google::Apis::ContentV2::ProductsCustomBatchResponseEntry>]
attr_accessor :entries
# Identifies what kind of resource this is. Value: the fixed string "content#
# productsCustomBatchResponse".
# Corresponds to the JSON property `kind`
@@ -5347,11 +5347,11 @@
@kind = args[:kind] if args.key?(:kind)
end
end
# A batch entry encoding a single non-batch products response.
- class ProductsBatchResponseEntry
+ class ProductsCustomBatchResponseEntry
include Google::Apis::Core::Hashable
# The ID of the request entry this entry responds to.
# Corresponds to the JSON property `batchId`
# @return [Fixnum]
@@ -5385,11 +5385,11 @@
@product = args[:product] if args.key?(:product)
end
end
#
- class ListProductsResponse
+ class ProductsListResponse
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "content#
# productsListResponse".
# Corresponds to the JSON property `kind`
@@ -5417,16 +5417,16 @@
@resources = args[:resources] if args.key?(:resources)
end
end
#
- class BatchProductStatusesRequest
+ class ProductstatusesCustomBatchRequest
include Google::Apis::Core::Hashable
# The request entries to be processed in the batch.
# Corresponds to the JSON property `entries`
- # @return [Array<Google::Apis::ContentV2::ProductStatusesBatchRequestEntry>]
+ # @return [Array<Google::Apis::ContentV2::ProductstatusesCustomBatchRequestEntry>]
attr_accessor :entries
def initialize(**args)
update!(**args)
end
@@ -5436,11 +5436,11 @@
@entries = args[:entries] if args.key?(:entries)
end
end
# A batch entry encoding a single non-batch productstatuses request.
- class ProductStatusesBatchRequestEntry
+ class ProductstatusesCustomBatchRequestEntry
include Google::Apis::Core::Hashable
# An entry ID, unique within the batch request.
# Corresponds to the JSON property `batchId`
# @return [Fixnum]
@@ -5452,11 +5452,11 @@
attr_accessor :merchant_id
#
# Corresponds to the JSON property `method`
# @return [String]
- attr_accessor :request_method
+ attr_accessor :method_prop
# The ID of the product whose status to get.
# Corresponds to the JSON property `productId`
# @return [String]
attr_accessor :product_id
@@ -5467,22 +5467,22 @@
# Update properties of this object
def update!(**args)
@batch_id = args[:batch_id] if args.key?(:batch_id)
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
- @request_method = args[:request_method] if args.key?(:request_method)
+ @method_prop = args[:method_prop] if args.key?(:method_prop)
@product_id = args[:product_id] if args.key?(:product_id)
end
end
#
- class BatchProductStatusesResponse
+ class ProductstatusesCustomBatchResponse
include Google::Apis::Core::Hashable
# The result of the execution of the batch requests.
# Corresponds to the JSON property `entries`
- # @return [Array<Google::Apis::ContentV2::ProductStatusesBatchResponseEntry>]
+ # @return [Array<Google::Apis::ContentV2::ProductstatusesCustomBatchResponseEntry>]
attr_accessor :entries
# Identifies what kind of resource this is. Value: the fixed string "content#
# productstatusesCustomBatchResponse".
# Corresponds to the JSON property `kind`
@@ -5499,11 +5499,11 @@
@kind = args[:kind] if args.key?(:kind)
end
end
# A batch entry encoding a single non-batch productstatuses response.
- class ProductStatusesBatchResponseEntry
+ class ProductstatusesCustomBatchResponseEntry
include Google::Apis::Core::Hashable
# The ID of the request entry this entry responds to.
# Corresponds to the JSON property `batchId`
# @return [Fixnum]
@@ -5538,10 +5538,10 @@
@product_status = args[:product_status] if args.key?(:product_status)
end
end
#
- class ListProductStatusesResponse
+ class ProductstatusesListResponse
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "content#
# productstatusesListResponse".
# Corresponds to the JSON property `kind`