Class: Google::Apis::CesV1::TransferRuleDeterministicTransfer

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb

Overview

Deterministic transfer rule. When the condition evaluates to true, the transfer occurs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TransferRuleDeterministicTransfer

Returns a new instance of TransferRuleDeterministicTransfer.



8361
8362
8363
# File 'lib/google/apis/ces_v1/classes.rb', line 8361

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

Instance Attribute Details

#expression_conditionGoogle::Apis::CesV1::ExpressionCondition

Expression condition based on session state. Corresponds to the JSON property expressionCondition



8354
8355
8356
# File 'lib/google/apis/ces_v1/classes.rb', line 8354

def expression_condition
  @expression_condition
end

#python_code_conditionGoogle::Apis::CesV1::PythonCodeCondition

Python code block to evaluate the condition. Corresponds to the JSON property pythonCodeCondition



8359
8360
8361
# File 'lib/google/apis/ces_v1/classes.rb', line 8359

def python_code_condition
  @python_code_condition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8366
8367
8368
8369
# File 'lib/google/apis/ces_v1/classes.rb', line 8366

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