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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/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.



3795
3796
3797
# File 'generated/google/apis/content_v2_1/classes.rb', line 3795

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)


3788
3789
3790
# File 'generated/google/apis/content_v2_1/classes.rb', line 3788

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



3793
3794
3795
# File 'generated/google/apis/content_v2_1/classes.rb', line 3793

def regions
  @regions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3800
3801
3802
3803
# File 'generated/google/apis/content_v2_1/classes.rb', line 3800

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