Class: Google::Apis::FirebaseV1beta1::ListAvailableLocationsResponse
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseV1beta1::ListAvailableLocationsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firebase_v1beta1/classes.rb,
generated/google/apis/firebase_v1beta1/representations.rb,
generated/google/apis/firebase_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#locations ⇒ Array<Google::Apis::FirebaseV1beta1::Location>
One page of results from a call to
ListAvailableLocations
. -
#next_page_token ⇒ String
If the result list is too large to fit in a single response, then a token is returned.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAvailableLocationsResponse
constructor
A new instance of ListAvailableLocationsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListAvailableLocationsResponse
Returns a new instance of ListAvailableLocationsResponse.
636 637 638 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 636 def initialize(**args) update!(**args) end |
Instance Attribute Details
#locations ⇒ Array<Google::Apis::FirebaseV1beta1::Location>
One page of results from a call to ListAvailableLocations
.
Corresponds to the JSON property locations
622 623 624 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 622 def locations @locations end |
#next_page_token ⇒ String
If the result list is too large to fit in a single response, then a token
is returned. If the string is empty, then this response is the last page of
results and all available locations have been listed.
This token can be used in a subsequent call to
ListAvailableLocations
to find more locations.
Page tokens are short-lived and should not be persisted.
Corresponds to the JSON property nextPageToken
634 635 636 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 634 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
641 642 643 644 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 641 def update!(**args) @locations = args[:locations] if args.key?(:locations) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |