Class: Google::Apis::FirebaseV1beta1::ListAvailableLocationsResponse

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#locationsArray<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_tokenString

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

Returns:

  • (String)


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