Class: Google::Apis::AdmobV1::ListPublisherAccountsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/admob_v1/classes.rb,
generated/google/apis/admob_v1/representations.rb,
generated/google/apis/admob_v1/representations.rb

Overview

Response for the publisher account list request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListPublisherAccountsResponse

Returns a new instance of ListPublisherAccountsResponse.



353
354
355
# File 'generated/google/apis/admob_v1/classes.rb', line 353

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#accountArray<Google::Apis::AdmobV1::PublisherAccount>

Publisher that the client credentials can access. Corresponds to the JSON property account



345
346
347
# File 'generated/google/apis/admob_v1/classes.rb', line 345

def 
  @account
end

#next_page_tokenString

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

Returns:

  • (String)


351
352
353
# File 'generated/google/apis/admob_v1/classes.rb', line 351

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



358
359
360
361
# File 'generated/google/apis/admob_v1/classes.rb', line 358

def update!(**args)
  @account = args[:account] if args.key?(:account)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end