# Google Cloud Config Delivery V1 Client - Class ResourceBundleDeploymentInfo (0.3.3)

0.3.3 (latest) 0.3.2 0.2.1 0.1.0 Reference documentation and code samples for the Google Cloud Config Delivery V1 Client class ResourceBundleDeploymentInfo.

ResourceBundleDeploymentInfo represents the status of a resource bundle
deployment.

Generated from protobuf message `google.cloud.configdelivery.v1.ResourceBundleDeploymentInfo`

## Namespace

Google \\ Cloud \\ ConfigDelivery \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ release` | `string` Output only. Refers to a `ResourceBundle` release. |
| `↳ version` | `string` Output only. Refers to a version of the `ResourceBundle` release. |
| `↳ variant` | `string` Output only. Refers to a variant in a `ResourceBundle` release. |
| `↳ sync_state` | `int` Output only. Synchronization state of the `ResourceBundle` deployment. |
| `↳ messages` | `string[]` Output only. Unordered list. Messages contains information related to the `ResourceBundle` deployment. For example, in case of an error, indicate the reason for the error. In case of a pending deployment, reason for why the deployment of new release is pending. |

### getRelease

Output only. Refers to a `ResourceBundle` release.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setRelease

Output only. Refers to a `ResourceBundle` release.

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

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

### getVersion

Output only. Refers to a version of the `ResourceBundle` release.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setVersion

Output only. Refers to a version of the `ResourceBundle` release.

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

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

### getVariant

Output only. Refers to a variant in a `ResourceBundle` release.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setVariant

Output only. Refers to a variant in a `ResourceBundle` release.

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

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

### getSyncState

Output only. Synchronization state of the `ResourceBundle` deployment.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [SyncState](https://docs.cloud.google.com/php/docs/reference/cloud-configdelivery/latest/V1.ResourceBundleDeploymentInfo.SyncState). |

### setSyncState

Output only. Synchronization state of the `ResourceBundle` deployment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [SyncState](https://docs.cloud.google.com/php/docs/reference/cloud-configdelivery/latest/V1.ResourceBundleDeploymentInfo.SyncState). |

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

### getMessages

Output only. Unordered list. Messages contains information related to the
`ResourceBundle` deployment. For example, in case of an error, indicate the
reason for the error. In case of a pending deployment, reason for why the
deployment of new release is pending.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setMessages

Output only. Unordered list. Messages contains information related to the
`ResourceBundle` deployment. For example, in case of an error, indicate the
reason for the error. In case of a pending deployment, reason for why the
deployment of new release is pending.

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

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