Class: Google::Apis::AdsenseV2::ListUrlChannelsResponse

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 url channels list rpc.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_tokenString

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

Returns:

  • (String)


831
832
833
# File 'lib/google/apis/adsense_v2/classes.rb', line 831

def next_page_token
  @next_page_token
end

#url_channelsArray<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