class Google::Apis::AuthorizedbuyersmarketplaceV1::AuctionPackage

Defines a segment of inventory that buyer wants to buy. It’s created by buyer and could be shared with multiple buyers.

Attributes

create_time[RW]

Output only. Time the auction package was created. Corresponds to the JSON property ‘createTime` @return [String]

creator[RW]

Output only. The buyer that created this auction package. Format: ‘buyers/` buyerAccountId“ Corresponds to the JSON property `creator` @return [String]

description[RW]

Output only. A description of the auction package. Corresponds to the JSON property ‘description` @return [String]

display_name[RW]

The display_name assigned to the auction package. Corresponds to the JSON property ‘displayName` @return [String]

name[RW]

Immutable. The unique identifier for the auction package. Format: ‘buyers/` accountId`/auctionPackages/`auctionPackageId“ The auction_package_id part of name is sent in the BidRequest to all RTB bidders and is returned as deal_id by the bidder in the BidResponse. Corresponds to the JSON property `name` @return [String]

subscribed_clients[RW]

Output only. The list of clients of the current buyer that are subscribed to the AuctionPackage. Format: ‘buyers/`buyerAccountId`/clients/`clientAccountId“ Corresponds to the JSON property `subscribedClients` @return [Array<String>]

update_time[RW]

Output only. Time the auction package was last updated. This value is only increased when this auction package is updated but never when a buyer subscribed. Corresponds to the JSON property ‘updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb, line 192
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb, line 197
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @creator = args[:creator] if args.key?(:creator)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @subscribed_clients = args[:subscribed_clients] if args.key?(:subscribed_clients)
  @update_time = args[:update_time] if args.key?(:update_time)
end