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.



16526
16527
16528
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16526

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

Instance Attribute Details

#operationString

Specifies applied operation. Corresponds to the JSON property operation

Returns:

  • (String)


16519
16520
16521
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16519

def operation
  @operation
end

#valueFloat

Specifies applied value. Corresponds to the JSON property value

Returns:

  • (Float)


16524
16525
16526
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16524

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16531
16532
16533
16534
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16531

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