# REST Resource: projects.locations.resourceBundles.releases.variants

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

## Resource: Variant

Variant represents the content of a `ResourceBundle` variant.

| JSON representation |
|---|
| ``` { "labels": { string: string, ... }, "resources": [ string ], "name": string, "createTime": string, "updateTime": string } ``` |

| Fields ||
|---|---|
| `labels` | `map (key: string, value: string)` Optional. Labels to represent any metadata associated with the variant. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `resources[]` | `string` Required. Input only. Unordered list. Resources contain the Kubernetes manifests (YAMLs) for this variant. |
| `name` | `string` Identifier. Name follows format of projects/{project}/locations/{location}/resourceBundles/{resourceBundle}/releases/{release}/variants/{variant} |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. \[Output only\] Create time stamp 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 (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. \[Output only\] Update time stamp 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"`. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rest/v1alpha/projects.locations.resourceBundles.releases.variants/create` | Creates a new Variant in a given project, location, resource bundle, and release. |
| ### `https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rest/v1alpha/projects.locations.resourceBundles.releases.variants/delete` | Deletes a single Variant. |
| ### `https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rest/v1alpha/projects.locations.resourceBundles.releases.variants/get` | Gets details of a single Variant. |
| ### `https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rest/v1alpha/projects.locations.resourceBundles.releases.variants/list` | Lists Variants in a given project and location. |
| ### `https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rest/v1alpha/projects.locations.resourceBundles.releases.variants/patch` | Updates the parameters of a single Variant. |