# Module variable (0.37.0)

0.37.0 (latest) 0.36.1 0.35.0 0.34.0 0.33.3 0.32.6 0.31.0 0.30.0 0.29.2 Create / interact with Google Cloud RuntimeConfig variables.

.. data:: STATE_UNSPECIFIED

    The default variable state.  See
    https://cloud.google.com/deployment-manager/runtime-configurator/reference/rest/v1beta1/projects.configs.variables#VariableState

.. data:: STATE_UPDATED

    Indicates the variable was updated, while `variables.watch` was executing.
    See
    https://cloud.google.com/deployment-manager/runtime-configurator/reference/rest/v1beta1/projects.configs.variables#VariableState

.. data:: STATE_DELETED

    Indicates the variable was deleted, while `variables.watch`_ was executing.
    See
    https://cloud.google.com/deployment-manager/runtime-configurator/reference/rest/v1beta1/projects.configs.variables#VariableState

.. _variables.watch:
<https://cloud.google.com/deployment-manager/runtime-configurator/reference/rest/v1beta1/projects.configs.variables/watch>

## Classes

### [Variable](https://docs.cloud.google.com/python/docs/reference/runtimeconfig/latest/google.cloud.runtimeconfig.variable.Variable)

    Variable(name, config)

A variable in the Cloud RuntimeConfig service.

See
<https://cloud.google.com/deployment-manager/runtime-configurator/reference/rest/v1beta1/projects.configs.variables>

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `str` The name of the variable. This corresponds to the unique path of the variable in the config. |
| `config` | `https://docs.cloud.google.com/python/docs/reference/runtimeconfig/latest/google.cloud.runtimeconfig.config.Config` The config to which this variable belongs. |