Class: Google::Apis::AdsenseV2::ListChildAccountsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AdsenseV2::ListChildAccountsResponse
- 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 child account list rpc.
Instance Attribute Summary collapse
-
#accounts ⇒ Array<Google::Apis::AdsenseV2::Account>
The accounts returned in this list response.
-
#next_page_token ⇒ String
Continuation token used to page through accounts.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListChildAccountsResponse
constructor
A new instance of ListChildAccountsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListChildAccountsResponse
Returns a new instance of ListChildAccountsResponse.
634 635 636 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 634 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accounts ⇒ Array<Google::Apis::AdsenseV2::Account>
The accounts returned in this list response.
Corresponds to the JSON property accounts
626 627 628 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 626 def accounts @accounts end |
#next_page_token ⇒ String
Continuation token used to page through accounts. To retrieve the next page of
the results, set the next request's "page_token" value to this.
Corresponds to the JSON property nextPageToken
632 633 634 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 632 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
639 640 641 642 |
# File 'lib/google/apis/adsense_v2/classes.rb', line 639 def update!(**args) @accounts = args[:accounts] if args.key?(:accounts) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |