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.



16466
16467
16468
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16466

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

Instance Attribute Details

#operationString

Specifies applied operation. Corresponds to the JSON property operation

Returns:

  • (String)


16459
16460
16461
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16459

def operation
  @operation
end

#valueFloat

Specifies applied value. Corresponds to the JSON property value

Returns:

  • (Float)


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