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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebase_v1beta1/classes.rb,
lib/google/apis/firebase_v1beta1/representations.rb,
lib/google/apis/firebase_v1beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAvailableLocationsResponse

Returns a new instance of ListAvailableLocationsResponse.



811
812
813
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 811

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



800
801
802
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 800

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)


809
810
811
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 809

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



816
817
818
819
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 816

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