# Google Cloud Config Delivery V1 Client - Class Release (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 Release.

`Release` represents a versioned release containing kubernetes manifests.

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

## Namespace

Google \\ Cloud \\ ConfigDelivery \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. Name of the Release. Format is `projects/{project}/locations/location}/resourceBundles/{resource_bundle}/release/[a-z][a-z0-9\-]{0,62}`. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Time `Release` was created. |
| `↳ update_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Time `Release` was last updated. |
| `↳ labels` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Optional. Labels as key value pairs. |
| `↳ lifecycle` | `int` Optional. lifecycle of the `Release`. |
| `↳ version` | `string` Required. version of the `Release`. This must be v |
| `↳ publish_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Time the `Release` was published. |
| `↳ info` | `https://docs.cloud.google.com/php/docs/reference/cloud-configdelivery/latest/V1.ReleaseInfo` Optional. `ResourceBundle` Release extra information e.g., artifact registry image path. |

### getName

Identifier. Name of the Release. Format is
`projects/{project}/locations/location}/resourceBundles/{resource_bundle}/release/[a-z][a-z0-9\-]{0,62}`.

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

### setName

Identifier. Name of the Release. Format is
`projects/{project}/locations/location}/resourceBundles/{resource_bundle}/release/[a-z][a-z0-9\-]{0,62}`.

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

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

### getCreateTime

Output only. Time `Release` was created.

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

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. Time `Release` was created.

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

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

### getUpdateTime

Output only. Time `Release` was last updated.

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

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. Time `Release` was last updated.

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

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

### getLabels

Optional. Labels as key value pairs.

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

### setLabels

Optional. Labels as key value pairs.

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

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

### getLifecycle

Optional. lifecycle of the `Release`.

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

### setLifecycle

Optional. lifecycle of the `Release`.

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

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

### getVersion

Required. version of the `Release`. This must be v


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

### setVersion

Required. version of the `Release`. This must be v


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

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

### getPublishTime

Output only. Time the `Release` was published.

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

### hasPublishTime

### clearPublishTime

### setPublishTime

Output only. Time the `Release` was published.

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

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

### getInfo

Optional. `ResourceBundle` Release extra information e.g., artifact
registry image path.

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

### hasInfo

### clearInfo

### setInfo

Optional. `ResourceBundle` Release extra information e.g., artifact
registry image path.

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

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