Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb
Overview
Action applied when rule is applied.
Instance Attribute Summary collapse
-
#operation ⇒ String
Specifies applied operation.
-
#value ⇒ Float
Specifies applied value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction
constructor
A new instance of GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction
Returns a new instance of GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction.
16466 16467 16468 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16466 def initialize(**args) update!(**args) end |
Instance Attribute Details
#operation ⇒ String
Specifies applied operation.
Corresponds to the JSON property operation
16459 16460 16461 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16459 def operation @operation end |
#value ⇒ Float
Specifies applied value.
Corresponds to the JSON property value
16464 16465 16466 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16464 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16471 16472 16473 16474 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16471 def update!(**args) @operation = args[:operation] if args.key?(:operation) @value = args[:value] if args.key?(:value) end |