- [Resource: Release](https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rest/v1alpha/projects.locations.resourceBundles.releases.md.txt#Release)
  - [JSON representation](https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rest/v1alpha/projects.locations.resourceBundles.releases.md.txt#Release.SCHEMA_REPRESENTATION)
- [Lifecycle](https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rest/v1alpha/projects.locations.resourceBundles.releases.md.txt#Lifecycle)
- [ReleaseInfo](https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rest/v1alpha/projects.locations.resourceBundles.releases.md.txt#ReleaseInfo)
  - [JSON representation](https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rest/v1alpha/projects.locations.resourceBundles.releases.md.txt#ReleaseInfo.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rest/v1alpha/projects.locations.resourceBundles.releases.md.txt#METHODS_SUMMARY)

## Resource: Release

`Release` represents a versioned release containing Kubernetes manifests.

| JSON representation |
|---|
| ``` { "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "lifecycle": enum (`Lifecycle`), "version": string, "publishTime": string, "info": { object (`ReleaseInfo`) } } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. Name of the Release. Format is `projects/{project}/locations/location}/resourceBundles/{resourceBundle}/release/[a-z][a-z0-9\-]{0,62}`. |
| `createTime` | ``string (`Timestamp` format)`` Output only. Time `Release` was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `updateTime` | ``string (`Timestamp` format)`` Output only. Time `Release` was last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `labels` | `map (key: string, value: string)` Optional. Labels as key value pairs. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `lifecycle` | ``enum (`Lifecycle`)`` Optional. lifecycle of the `Release`. |
| `version` | `string` Required. Version of the `Release`. This must be v... |
| `publishTime` | ``string (`Timestamp` format)`` Output only. Time the `Release` was published. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `info` | ``object (`ReleaseInfo`)`` Optional. `ResourceBundle` Release extra information e.g., artifact registry image path. |

## Lifecycle

Lifecycle indicates the state of the `Release`. A published release is immutable.

| Enums ||
|---|---|
| `LIFECYCLE_UNSPECIFIED` | indicates lifecycle has not been specified. |
| `DRAFT` | indicates that the `Release` is being edited. |
| `PUBLISHED` | indicates that the `Release` is now published (or released) and immutable. |

## ReleaseInfo

ReleaseInfo contains extra information about the `ResourceBundle` release e.g., link to an artifact registry OCI image.

| JSON representation |
|---|
| ``` { "ociImagePath": string, "variantOciImagePaths": { string: string, ... } } ``` |

| Fields ||
|---|---|
| `ociImagePath (deprecated)` | `string` > [!WARNING] > This item is deprecated! Output only. Deprecated: This field is not being used. Use variantOciImagePaths instead. |
| `variantOciImagePaths` | `map (key: string, value: string)` Optional. Per-variant paths to the oci images the service uploads on package release creation An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |

| ## Methods ||
|---|---|
| ### `create` | Creates a new Release in a given project, location and resource bundle. |
| ### `delete` | Deletes a single Release. |
| ### `get` | Gets details of a single Release. |
| ### `list` | Lists Releases in a given project and location. |
| ### `patch` | Updates the parameters of a single Release. |