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

0.3.3 (latest) 0.3.2 0.2.1 0.1.0

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Config Delivery V1beta Client class ResourceBundleDeploymentInfo.

ResourceBundleDeploymentInfo represents the status of a resource bundle
deployment.

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

## Namespace

Google \\ Cloud \\ ConfigDelivery \\ V1beta

## 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/V1beta.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/V1beta.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` |   |