Class: Google::Apis::MerchantapiInventoriesV1beta::ListRegionalInventoriesResponse
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiInventoriesV1beta::ListRegionalInventoriesResponse
- 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 ListRegionalInventories
method.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
pageToken
to retrieve the next page. -
#regional_inventories ⇒ Array<Google::Apis::MerchantapiInventoriesV1beta::RegionalInventory>
The
RegionalInventory
resources for the given product from the specified account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListRegionalInventoriesResponse
constructor
A new instance of ListRegionalInventoriesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListRegionalInventoriesResponse
Returns a new instance of ListRegionalInventoriesResponse.
148 149 150 |
# File 'lib/google/apis/merchantapi_inventories_v1beta/classes.rb', line 148 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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
140 141 142 |
# File 'lib/google/apis/merchantapi_inventories_v1beta/classes.rb', line 140 def next_page_token @next_page_token end |
#regional_inventories ⇒ Array<Google::Apis::MerchantapiInventoriesV1beta::RegionalInventory>
The RegionalInventory
resources for the given product from the specified
account.
Corresponds to the JSON property regionalInventories
146 147 148 |
# File 'lib/google/apis/merchantapi_inventories_v1beta/classes.rb', line 146 def regional_inventories @regional_inventories end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
153 154 155 156 |
# File 'lib/google/apis/merchantapi_inventories_v1beta/classes.rb', line 153 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @regional_inventories = args[:regional_inventories] if args.key?(:regional_inventories) end |