Class: Google::Apis::AdsenseV2::ListAdClientsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AdsenseV2::ListAdClientsResponse
- 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 ad client list rpc.
Instance Attribute Summary collapse
-
#ad_clients ⇒ Array<Google::Apis::AdsenseV2::AdClient>
The ad clients returned in this list response.
-
#next_page_token ⇒ String
Continuation token used to page through ad clients.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAdClientsResponse
constructor
A new instance of ListAdClientsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListAdClientsResponse
Returns a new instance of ListAdClientsResponse.
563 564 565 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 563 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_clients ⇒ Array<Google::Apis::AdsenseV2::AdClient>
The ad clients returned in this list response.
Corresponds to the JSON property adClients
555 556 557 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 555 def ad_clients @ad_clients end |
#next_page_token ⇒ String
Continuation token used to page through ad clients. To retrieve the next page
of the results, set the next request's "page_token" value to this.
Corresponds to the JSON property nextPageToken
561 562 563 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 561 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
568 569 570 571 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 568 def update!(**args) @ad_clients = args[:ad_clients] if args.key?(:ad_clients) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |