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.



6800
6801
6802
# File 'lib/google/apis/ces_v1/classes.rb', line 6800

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



6793
6794
6795
# File 'lib/google/apis/ces_v1/classes.rb', line 6793

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



6798
6799
6800
# File 'lib/google/apis/ces_v1/classes.rb', line 6798

def python_code_condition
  @python_code_condition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6805
6806
6807
6808
# File 'lib/google/apis/ces_v1/classes.rb', line 6805

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