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.



485
486
487
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 485

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

Instance Attribute Details

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

The list of channels. Corresponds to the JSON property channels



476
477
478
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 476

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)


483
484
485
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 483

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



490
491
492
493
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 490

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