Class: Google::Apis::RealtimebiddingV1::ListBuyersResponse

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

Overview

A response containing buyer account information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListBuyersResponse

Returns a new instance of ListBuyersResponse.



1299
1300
1301
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1299

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

Instance Attribute Details

#buyersArray<Google::Apis::RealtimebiddingV1::Buyer>

List of buyers. Corresponds to the JSON property buyers



1291
1292
1293
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1291

def buyers
  @buyers
end

#next_page_tokenString

A token which can be passed to a subsequent call to the ListBuyers method to retrieve the next page of results in ListBuyersRequest.pageToken. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1297
1298
1299
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1297

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1304
1305
1306
1307
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1304

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