Class: Google::Apis::ContentV2_1::ListRegionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ListRegionsResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Overview
Response message for the ListRegions method.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_tokento retrieve the next page. -
#regions ⇒ Array<Google::Apis::ContentV2_1::Region>
The regions from the specified merchant.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListRegionsResponse
constructor
A new instance of ListRegionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListRegionsResponse
Returns a new instance of ListRegionsResponse.
4433 4434 4435 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4433 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token, which can be sent as page_token to retrieve the next page. If this
field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
4426 4427 4428 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4426 def next_page_token @next_page_token end |
#regions ⇒ Array<Google::Apis::ContentV2_1::Region>
The regions from the specified merchant.
Corresponds to the JSON property regions
4431 4432 4433 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4431 def regions @regions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4438 4439 4440 4441 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 4438 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @regions = args[:regions] if args.key?(:regions) end |