Class: Google::Apis::CesV1::TransferRuleDeterministicTransfer
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::TransferRuleDeterministicTransfer
- 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
-
#expression_condition ⇒ Google::Apis::CesV1::ExpressionCondition
Expression condition based on session state.
-
#python_code_condition ⇒ Google::Apis::CesV1::PythonCodeCondition
Python code block to evaluate the condition.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TransferRuleDeterministicTransfer
constructor
A new instance of TransferRuleDeterministicTransfer.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_condition ⇒ Google::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_condition ⇒ Google::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 |