# Google Cloud Dialogflow Cx V3 Client - Class RolloutConfig (0.11.1)

0.11.1 (latest) 0.11.0 0.10.2 0.9.2 0.8.1 0.7.2 0.6.0 0.5.2 0.4.1 0.3.4 0.2.1 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** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ rollout_steps` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/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](https://cloud.google.com/dialogflow/cx/docs/reference/condition). |
| `↳ 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](https://cloud.google.com/dialogflow/cx/docs/reference/condition). |

### getRolloutSteps

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.RolloutConfig.RolloutStep>` |   |

### setRolloutSteps

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.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](https://cloud.google.com/dialogflow/cx/docs/reference/condition).

| **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](https://cloud.google.com/dialogflow/cx/docs/reference/condition).

| **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](https://cloud.google.com/dialogflow/cx/docs/reference/condition).

| **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](https://cloud.google.com/dialogflow/cx/docs/reference/condition).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |