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``. -
#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.
46 47 48 |
# File 'lib/google/apis/realtimebidding_v1alpha/classes.rb', line 46 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
33 34 35 |
# File 'lib/google/apis/realtimebidding_v1alpha/classes.rb', line 33 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`
39 40 41 |
# File 'lib/google/apis/realtimebidding_v1alpha/classes.rb', line 39 def name @name end |
#type ⇒ String
The type of the bidding function to be created.
Corresponds to the JSON property type
44 45 46 |
# File 'lib/google/apis/realtimebidding_v1alpha/classes.rb', line 44 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
51 52 53 54 55 |
# File 'lib/google/apis/realtimebidding_v1alpha/classes.rb', line 51 def update!(**args) @bidding_function = args[:bidding_function] if args.key?(:bidding_function) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) end |