Class: Google::Apis::RealtimebiddingV1alpha::BiddingFunction
- Inherits:
-
Object
- Object
- Google::Apis::RealtimebiddingV1alpha::BiddingFunction
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/realtimebidding_v1alpha/classes.rb,
lib/google/apis/realtimebidding_v1alpha/representations.rb,
lib/google/apis/realtimebidding_v1alpha/representations.rb
Overview
The bidding function to be executed as part of the TURTLEDOVE simulation experiment bidding flow.
Instance Attribute Summary collapse
-
#bidding_function ⇒ String
The raw Javascript source code of the bidding function.
-
#name ⇒ String
The name of the bidding function that must follow the pattern:
bidders/bidder_account_id/biddingFunctions/bidding_function_name``. -
#state ⇒ String
Output only.
-
#type ⇒ String
The type of the bidding function to be created.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BiddingFunction
constructor
A new instance of BiddingFunction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BiddingFunction
Returns a new instance of BiddingFunction.
77 78 79 |
# File 'lib/google/apis/realtimebidding_v1alpha/classes.rb', line 77 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bidding_function ⇒ String
The raw Javascript source code of the bidding function.
Corresponds to the JSON property biddingFunction
59 60 61 |
# File 'lib/google/apis/realtimebidding_v1alpha/classes.rb', line 59 def bidding_function @bidding_function end |
#name ⇒ String
The name of the bidding function that must follow the pattern: bidders/
bidder_account_id/biddingFunctions/bidding_function_name`.
Corresponds to the JSON propertyname`
65 66 67 |
# File 'lib/google/apis/realtimebidding_v1alpha/classes.rb', line 65 def name @name end |
#state ⇒ String
Output only. The state of the bidding function.
Corresponds to the JSON property state
70 71 72 |
# File 'lib/google/apis/realtimebidding_v1alpha/classes.rb', line 70 def state @state end |
#type ⇒ String
The type of the bidding function to be created.
Corresponds to the JSON property type
75 76 77 |
# File 'lib/google/apis/realtimebidding_v1alpha/classes.rb', line 75 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
82 83 84 85 86 87 |
# 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 |