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.
7013 7014 7015 |
# File 'lib/google/apis/ces_v1/classes.rb', line 7013 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
7006 7007 7008 |
# File 'lib/google/apis/ces_v1/classes.rb', line 7006 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
7011 7012 7013 |
# File 'lib/google/apis/ces_v1/classes.rb', line 7011 def python_code_condition @python_code_condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7018 7019 7020 7021 |
# File 'lib/google/apis/ces_v1/classes.rb', line 7018 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 |