Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction

Returns a new instance of GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAction.



16400
16401
16402
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16400

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#operationString

Specifies applied operation. Corresponds to the JSON property operation

Returns:

  • (String)


16393
16394
16395
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16393

def operation
  @operation
end

#valueFloat

Specifies applied value. Corresponds to the JSON property value

Returns:

  • (Float)


16398
16399
16400
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16398

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16405
16406
16407
16408
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16405

def update!(**args)
  @operation = args[:operation] if args.key?(:operation)
  @value = args[:value] if args.key?(:value)
end