Class: Google::Apis::AdsenseV2::ListLinkedCustomChannelsResponse

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

Overview

Response definition for the custom channels linked to an adunit list rpc.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListLinkedCustomChannelsResponse

Returns a new instance of ListLinkedCustomChannelsResponse.



712
713
714
# File 'lib/google/apis/adsense_v2/classes.rb', line 712

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

Instance Attribute Details

#custom_channelsArray<Google::Apis::AdsenseV2::CustomChannel>

The custom channels returned in this list response. Corresponds to the JSON property customChannels



704
705
706
# File 'lib/google/apis/adsense_v2/classes.rb', line 704

def custom_channels
  @custom_channels
end

#next_page_tokenString

Continuation token used to page through alerts. To retrieve the next page of the results, set the next request's "page_token" value to this. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


710
711
712
# File 'lib/google/apis/adsense_v2/classes.rb', line 710

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



717
718
719
720
# File 'lib/google/apis/adsense_v2/classes.rb', line 717

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