Class: Google::Apis::AdsenseV2::ListUrlChannelsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AdsenseV2::ListUrlChannelsResponse
- 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 url channels list rpc.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
Continuation token used to page through url channels.
-
#url_channels ⇒ Array<Google::Apis::AdsenseV2::UrlChannel>
The url channels returned in this list response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListUrlChannelsResponse
constructor
A new instance of ListUrlChannelsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListUrlChannelsResponse
Returns a new instance of ListUrlChannelsResponse.
736 737 738 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 736 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
Continuation token used to page through url channels. To retrieve the next
page of the results, set the next request's "page_token" value to this.
Corresponds to the JSON property nextPageToken
729 730 731 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 729 def next_page_token @next_page_token end |
#url_channels ⇒ Array<Google::Apis::AdsenseV2::UrlChannel>
The url channels returned in this list response.
Corresponds to the JSON property urlChannels
734 735 736 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 734 def url_channels @url_channels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
741 742 743 744 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 741 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @url_channels = args[:url_channels] if args.key?(:url_channels) end |