Class: Google::Apis::ContentV2_1::ListRegionsResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListRegionsResponse

Returns a new instance of ListRegionsResponse.



6459
6460
6461
# File 'lib/google/apis/content_v2_1/classes.rb', line 6459

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


6452
6453
6454
# File 'lib/google/apis/content_v2_1/classes.rb', line 6452

def next_page_token
  @next_page_token
end

#regionsArray<Google::Apis::ContentV2_1::Region>

The regions from the specified merchant. Corresponds to the JSON property regions



6457
6458
6459
# File 'lib/google/apis/content_v2_1/classes.rb', line 6457

def regions
  @regions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6464
6465
6466
6467
# File 'lib/google/apis/content_v2_1/classes.rb', line 6464

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @regions = args[:regions] if args.key?(:regions)
end