- [JSON representation](https://docs.cloud.google.com/app-lifecycle-manager/reference/rest/v1beta1/UnitVariable#SCHEMA_REPRESENTATION)
- [Type](https://docs.cloud.google.com/app-lifecycle-manager/reference/rest/v1beta1/UnitVariable#Type)

UnitVariable describes a parameter for a Unit.

| JSON representation |
|---|
| ``` { "variable": string, "type": enum (`https://docs.cloud.google.com/app-lifecycle-manager/reference/rest/v1beta1/UnitVariable#Type`), "value": string } ``` |

| Fields ||
|---|---|
| `variable` | `string` Required. Immutable. Name of the variable from actuation configs. |
| `type` | ``enum (`https://docs.cloud.google.com/app-lifecycle-manager/reference/rest/v1beta1/UnitVariable#Type`)`` Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool. |
| `value` | `string` Optional. String encoded value for the variable. |

## Type

Enumeration of variable types. `STRUCT` and `LIST` values should be JSON-encoded strings.

| Enums ||
|---|---|
| `TYPE_UNSPECIFIED` | Variable type is unspecified. |
| `STRING` | Variable type is string. |
| `INT` | Variable type is int. |
| `BOOL` | Variable type is bool. |
| `STRUCT` | Variable type is struct. |
| `LIST` | Variable type is list. |