Class: Google::Apis::AdsenseV2::ListCustomChannelsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AdsenseV2::ListCustomChannelsResponse
- 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 channel list rpc.
Instance Attribute Summary collapse
-
#custom_channels ⇒ Array<Google::Apis::AdsenseV2::CustomChannel>
The custom channels returned in this list response.
-
#next_page_token ⇒ String
Continuation token used to page through alerts.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListCustomChannelsResponse
constructor
A new instance of ListCustomChannelsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListCustomChannelsResponse
Returns a new instance of ListCustomChannelsResponse.
660 661 662 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 660 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_channels ⇒ Array<Google::Apis::AdsenseV2::CustomChannel>
The custom channels returned in this list response.
Corresponds to the JSON property customChannels
652 653 654 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 652 def custom_channels @custom_channels end |
#next_page_token ⇒ String
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
658 659 660 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 658 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
665 666 667 668 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 665 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 |