Class: Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse

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

Overview

Response message for listing all reasons for which a buyer was not billed for a winning bid.

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) ⇒ ListNonBillableWinningBidsResponse

Returns a new instance of ListNonBillableWinningBidsResponse



2532
2533
2534
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2532

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

Instance Attribute Details

#next_page_tokenString

A token to retrieve the next page of results. Pass this value in the ListNonBillableWinningBidsRequest.pageToken field in the subsequent call to the nonBillableWinningBids.list method to retrieve the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2525
2526
2527
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2525

def next_page_token
  @next_page_token
end

#non_billable_winning_bid_status_rowsArray<Google::Apis::Adexchangebuyer2V2beta1::NonBillableWinningBidStatusRow>

List of rows, with counts of bids not billed aggregated by reason. Corresponds to the JSON property nonBillableWinningBidStatusRows



2530
2531
2532
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2530

def non_billable_winning_bid_status_rows
  @non_billable_winning_bid_status_rows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2537
2538
2539
2540
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2537

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