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

Constructor Details

#initialize(**args) ⇒ ListAvailableLocationsResponse

Returns a new instance of ListAvailableLocationsResponse.



638
639
640
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 638

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



627
628
629
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 627

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)


636
637
638
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 636

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



643
644
645
646
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 643

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