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.
7340 7341 7342 |
# File 'lib/google/apis/ces_v1/classes.rb', line 7340 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
7333 7334 7335 |
# File 'lib/google/apis/ces_v1/classes.rb', line 7333 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
7338 7339 7340 |
# File 'lib/google/apis/ces_v1/classes.rb', line 7338 def python_code_condition @python_code_condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7345 7346 7347 7348 |
# File 'lib/google/apis/ces_v1/classes.rb', line 7345 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 |