# io.k8s.api.admissionregistration.v1.Variable

From **Kubernetes**.

Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.

- Type: `object`

## Properties

### `expression`

- Required: true
- Type: `string`

expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.

### `name`

- Required: true
- Type: `string`

name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`

## JSON Schema

```json
{"description":"Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.","properties":{"expression":{"default":"","description":"expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.","type":"string"},"name":{"default":"","description":"name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is \"foo\", the variable will be available as `variables.foo`","type":"string"}},"required":["name","expression"],"type":"object","x-kubernetes-map-type":"atomic"}
```
