Class: Google::Apis::AdmobV1beta::ListPublisherAccountsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AdmobV1beta::ListPublisherAccountsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admob_v1beta/classes.rb,
generated/google/apis/admob_v1beta/representations.rb,
generated/google/apis/admob_v1beta/representations.rb
Overview
Response for the publisher account list request.
Instance Attribute Summary collapse
-
#account ⇒ Array<Google::Apis::AdmobV1beta::PublisherAccount>
Publisher that the client credentials can access.
-
#next_page_token ⇒ String
If not empty, indicates that there might be more accounts for the request; you must pass this value in a new
ListPublisherAccountsRequest
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListPublisherAccountsResponse
constructor
A new instance of ListPublisherAccountsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListPublisherAccountsResponse
Returns a new instance of ListPublisherAccountsResponse.
480 481 482 |
# File 'generated/google/apis/admob_v1beta/classes.rb', line 480 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account ⇒ Array<Google::Apis::AdmobV1beta::PublisherAccount>
Publisher that the client credentials can access.
Corresponds to the JSON property account
472 473 474 |
# File 'generated/google/apis/admob_v1beta/classes.rb', line 472 def account @account end |
#next_page_token ⇒ String
If not empty, indicates that there might be more accounts for the request; you
must pass this value in a new ListPublisherAccountsRequest
.
Corresponds to the JSON property nextPageToken
478 479 480 |
# File 'generated/google/apis/admob_v1beta/classes.rb', line 478 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
485 486 487 488 |
# File 'generated/google/apis/admob_v1beta/classes.rb', line 485 def update!(**args) @account = args[:account] if args.key?(:account) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |