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.
838 839 840 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 838 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
831 832 833 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 831 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
836 837 838 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 836 def url_channels @url_channels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
843 844 845 846 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 843 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 |