class Google::Apis::RealtimebiddingV1alpha::BiddingFunction

The bidding function to be executed as part of the TURTLEDOVE simulation experiment bidding flow.

Attributes

bidding_function[RW]

The raw Javascript source code of the bidding function. Corresponds to the JSON property `biddingFunction` @return [String]

name[RW]

The name of the bidding function that must follow the pattern: `bidders/` bidder_account_id`/biddingFunctions/`bidding_function_name“. Corresponds to the JSON property `name` @return [String]

state[RW]

Output only. The state of the bidding function. Corresponds to the JSON property `state` @return [String]

type[RW]

The type of the bidding function to be created. Corresponds to the JSON property `type` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/realtimebidding_v1alpha/classes.rb, line 82
def update!(**args)
  @bidding_function = args[:bidding_function] if args.key?(:bidding_function)
  @name = args[:name] if args.key?(:name)
  @state = args[:state] if args.key?(:state)
  @type = args[:type] if args.key?(:type)
end