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 \ V3Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ rollout_steps |
array<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 | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setRolloutSteps
Steps to roll out a flow version. Steps should be sorted by percentage in ascending order.
| Parameter | |
|---|---|
| Name | Description |
var |
array<RolloutConfig\RolloutStep>
|
| Returns | |
|---|---|
| Type | Description |
$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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|