Class: Google::Apis::MerchantapiInventoriesV1beta::ListLocalInventoriesResponse
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiInventoriesV1beta::ListLocalInventoriesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_inventories_v1beta/classes.rb,
lib/google/apis/merchantapi_inventories_v1beta/representations.rb,
lib/google/apis/merchantapi_inventories_v1beta/representations.rb
Overview
Response message for the ListLocalInventories
method.
Instance Attribute Summary collapse
-
#local_inventories ⇒ Array<Google::Apis::MerchantapiInventoriesV1beta::LocalInventory>
The
LocalInventory
resources for the given product from the specified account. -
#next_page_token ⇒ String
A token, which can be sent as
pageToken
to retrieve the next page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListLocalInventoriesResponse
constructor
A new instance of ListLocalInventoriesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListLocalInventoriesResponse
Returns a new instance of ListLocalInventoriesResponse.
121 122 123 |
# File 'lib/google/apis/merchantapi_inventories_v1beta/classes.rb', line 121 def initialize(**args) update!(**args) end |
Instance Attribute Details
#local_inventories ⇒ Array<Google::Apis::MerchantapiInventoriesV1beta::LocalInventory>
The LocalInventory
resources for the given product from the specified
account.
Corresponds to the JSON property localInventories
113 114 115 |
# File 'lib/google/apis/merchantapi_inventories_v1beta/classes.rb', line 113 def local_inventories @local_inventories end |
#next_page_token ⇒ String
A token, which can be sent as pageToken
to retrieve the next page. If this
field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
119 120 121 |
# File 'lib/google/apis/merchantapi_inventories_v1beta/classes.rb', line 119 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
126 127 128 129 |
# File 'lib/google/apis/merchantapi_inventories_v1beta/classes.rb', line 126 def update!(**args) @local_inventories = args[:local_inventories] if args.key?(:local_inventories) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |