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.



1088
1089
1090
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 1088

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)


1081
1082
1083
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 1081

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



1086
1087
1088
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 1086

def sites
  @sites
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1093
1094
1095
1096
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 1093

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