Google Cloud Dialogflow Cx V3 Client - Class RolloutConfig (0.1.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class RolloutConfig.

The configuration for auto rollout.

Generated from protobuf message google.cloud.dialogflow.cx.v3.RolloutConfig

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ rollout_steps array<Google\Cloud\Dialogflow\Cx\V3\RolloutConfig\RolloutStep>

Steps to roll out a flow version. Steps should be sorted by percentage in ascending order.

↳ rollout_condition string

The conditions that are used to evaluate the success of a rollout step. If not specified, all rollout steps will proceed to the next one unless failure conditions are met. E.g. "containment_rate > 60% AND callback_rate < 20%". See the conditions reference.

↳ failure_condition string

The conditions that are used to evaluate the failure of a rollout step. If not specified, no rollout steps will fail. E.g. "containment_rate < 10% OR average_turn_count < 3". See the conditions reference.

getRolloutSteps

Steps to roll out a flow version. Steps should be sorted by percentage in ascending order.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRolloutSteps

Steps to roll out a flow version. Steps should be sorted by percentage in ascending order.

Parameter
NameDescription
var array<Google\Cloud\Dialogflow\Cx\V3\RolloutConfig\RolloutStep>
Returns
TypeDescription
$this

getRolloutCondition

The conditions that are used to evaluate the success of a rollout step. If not specified, all rollout steps will proceed to the next one unless failure conditions are met. E.g. "containment_rate > 60% AND callback_rate < 20%". See the conditions reference.

Returns
TypeDescription
string

setRolloutCondition

The conditions that are used to evaluate the success of a rollout step. If not specified, all rollout steps will proceed to the next one unless failure conditions are met. E.g. "containment_rate > 60% AND callback_rate < 20%". See the conditions reference.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFailureCondition

The conditions that are used to evaluate the failure of a rollout step. If not specified, no rollout steps will fail. E.g. "containment_rate < 10% OR average_turn_count < 3". See the conditions reference.

Returns
TypeDescription
string

setFailureCondition

The conditions that are used to evaluate the failure of a rollout step. If not specified, no rollout steps will fail. E.g. "containment_rate < 10% OR average_turn_count < 3". See the conditions reference.

Parameter
NameDescription
var string
Returns
TypeDescription
$this