Google Cloud Ces V1 Client - Class DeterministicTransfer (0.1.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class DeterministicTransfer.

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

Generated from protobuf message google.cloud.ces.v1.TransferRule.DeterministicTransfer

Namespace

Google \ Cloud \ Ces \ V1 \ TransferRule

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ expression_condition Google\Cloud\Ces\V1\ExpressionCondition

Optional. A rule that evaluates a session state condition. If the condition evaluates to true, the transfer occurs.

↳ python_code_condition Google\Cloud\Ces\V1\PythonCodeCondition

Optional. A rule that uses Python code block to evaluate the conditions. If the condition evaluates to true, the transfer occurs.

getExpressionCondition

Optional. A rule that evaluates a session state condition.

If the condition evaluates to true, the transfer occurs.

Returns
Type Description
Google\Cloud\Ces\V1\ExpressionCondition|null

hasExpressionCondition

setExpressionCondition

Optional. A rule that evaluates a session state condition.

If the condition evaluates to true, the transfer occurs.

Parameter
Name Description
var Google\Cloud\Ces\V1\ExpressionCondition
Returns
Type Description
$this

getPythonCodeCondition

Optional. A rule that uses Python code block to evaluate the conditions. If the condition evaluates to true, the transfer occurs.

Returns
Type Description
Google\Cloud\Ces\V1\PythonCodeCondition|null

hasPythonCodeCondition

setPythonCodeCondition

Optional. A rule that uses Python code block to evaluate the conditions. If the condition evaluates to true, the transfer occurs.

Parameter
Name Description
var Google\Cloud\Ces\V1\PythonCodeCondition
Returns
Type Description
$this

getConditionType

Returns
Type Description
string