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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListSitesResponse

Returns a new instance of ListSitesResponse.



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

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

Instance Attribute Details

#next_page_tokenString

The pagination token, if more results exist beyond the ones in this response. Include this token in your next call to ListSites. Page tokens are short- lived and should not be stored. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


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

def next_page_token
  @next_page_token
end

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

A list of Site objects associated with the specified Firebase project. Corresponds to the JSON property sites



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

def sites
  @sites
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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