Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::TransferRule::DeterministicTransfer (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::TransferRule::DeterministicTransfer.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#expression_condition

def expression_condition() -> ::Google::Cloud::Ces::V1beta::ExpressionCondition
Returns
  • (::Google::Cloud::Ces::V1beta::ExpressionCondition) — Optional. A rule that evaluates a session state condition. If the condition evaluates to true, the transfer occurs.

    Note: The following fields are mutually exclusive: expression_condition, python_code_condition. If a field in that set is populated, all other fields in the set will automatically be cleared.

#expression_condition=

def expression_condition=(value) -> ::Google::Cloud::Ces::V1beta::ExpressionCondition
Parameter
  • value (::Google::Cloud::Ces::V1beta::ExpressionCondition) — Optional. A rule that evaluates a session state condition. If the condition evaluates to true, the transfer occurs.

    Note: The following fields are mutually exclusive: expression_condition, python_code_condition. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Ces::V1beta::ExpressionCondition) — Optional. A rule that evaluates a session state condition. If the condition evaluates to true, the transfer occurs.

    Note: The following fields are mutually exclusive: expression_condition, python_code_condition. If a field in that set is populated, all other fields in the set will automatically be cleared.

#python_code_condition

def python_code_condition() -> ::Google::Cloud::Ces::V1beta::PythonCodeCondition
Returns
  • (::Google::Cloud::Ces::V1beta::PythonCodeCondition) — Optional. A rule that uses Python code block to evaluate the conditions. If the condition evaluates to true, the transfer occurs.

    Note: The following fields are mutually exclusive: python_code_condition, expression_condition. If a field in that set is populated, all other fields in the set will automatically be cleared.

#python_code_condition=

def python_code_condition=(value) -> ::Google::Cloud::Ces::V1beta::PythonCodeCondition
Parameter
  • value (::Google::Cloud::Ces::V1beta::PythonCodeCondition) — Optional. A rule that uses Python code block to evaluate the conditions. If the condition evaluates to true, the transfer occurs.

    Note: The following fields are mutually exclusive: python_code_condition, expression_condition. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Ces::V1beta::PythonCodeCondition) — Optional. A rule that uses Python code block to evaluate the conditions. If the condition evaluates to true, the transfer occurs.

    Note: The following fields are mutually exclusive: python_code_condition, expression_condition. If a field in that set is populated, all other fields in the set will automatically be cleared.