Class: Google::Apis::FirebasehostingV1beta1::ListChannelsResponse

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) ⇒ ListChannelsResponse

Returns a new instance of ListChannelsResponse.



956
957
958
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 956

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

Instance Attribute Details

#channelsArray<Google::Apis::FirebasehostingV1beta1::Channel>

The list of channels. Corresponds to the JSON property channels



947
948
949
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 947

def channels
  @channels
end

#next_page_tokenString

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

Returns:

  • (String)


954
955
956
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 954

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



961
962
963
964
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 961

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