# Google Cloud OsConfig V1 Client - Class Rollout (2.2.3)

2.2.3 (latest) 2.2.2 2.1.0 2.0.5 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud OsConfig V1 Client class Rollout.

Message to configure the rollout at the zonal level for the OS policy
assignment.

Generated from protobuf message `google.cloud.osconfig.v1.OSPolicyAssignment.Rollout`

## Namespace

Google \\ Cloud \\ OsConfig \\ V1 \\ OSPolicyAssignment

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ disruption_budget` | `https://docs.cloud.google.com/php/docs/reference/cloud-osconfig/latest/V1.FixedOrPercent` Required. The maximum number (or percentage) of VMs per zone to disrupt at any given moment. |
| `↳ min_wait_duration` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` Required. This determines the minimum duration of time to wait after the configuration changes are applied through the current rollout. A VM continues to count towards the `disruption_budget` at least until this duration of time has passed after configuration changes are applied. |

### getDisruptionBudget

Required. The maximum number (or percentage) of VMs per zone to disrupt
at any given moment.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-osconfig/latest/V1.FixedOrPercent|null` |   |

### hasDisruptionBudget

### clearDisruptionBudget

### setDisruptionBudget

Required. The maximum number (or percentage) of VMs per zone to disrupt
at any given moment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-osconfig/latest/V1.FixedOrPercent` |

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

### getMinWaitDuration

Required. This determines the minimum duration of time to wait after the
configuration changes are applied through the current rollout. A
VM continues to count towards the `disruption_budget` at least
until this duration of time has passed after configuration changes are
applied.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration|null` |   |

### hasMinWaitDuration

### clearMinWaitDuration

### setMinWaitDuration

Required. This determines the minimum duration of time to wait after the
configuration changes are applied through the current rollout. A
VM continues to count towards the `disruption_budget` at least
until this duration of time has passed after configuration changes are
applied.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` |

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