Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
| Name | Type | Description | Notes |
|---|---|---|---|
| expression | str | 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 | str | 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` |
from kubernetes.client.models.v1_variable import V1Variable
# TODO update the JSON string below
json = "{}"
# create an instance of V1Variable from a JSON string
v1_variable_instance = V1Variable.from_json(json)
# print the JSON string representation of the object
print(V1Variable.to_json())
# convert the object into a dict
v1_variable_dict = v1_variable_instance.to_dict()
# create an instance of V1Variable from a dict
v1_variable_from_dict = V1Variable.from_dict(v1_variable_dict)