Class: Google::Apis::FirebasehostingV1beta1::ListSitesResponse

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

Overview

The response from ListSites.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListSitesResponse

Returns a new instance of ListSitesResponse.



565
566
567
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 565

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

A token returned when the list of results is too large to fit in a single response. If the string is empty, the response is the last or only page of results. Use the token in a follow-up call to ListSites to find the next group of Sites. Page tokens are short-lived and should not be stored. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


558
559
560
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 558

def next_page_token
  @next_page_token
end

#sitesArray<Google::Apis::FirebasehostingV1beta1::Site>

A list of Site objects from the parent Firebase Project. Corresponds to the JSON property sites



563
564
565
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 563

def sites
  @sites
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



570
571
572
573
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 570

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