# Class ConfigVariableTemplate (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0 0.2.7

    ConfigVariableTemplate(mapping=None, *, ignore_unknown_fields=False, **kwargs)

ConfigVariableTemplate represents a configuration variable
template present in a Plugin Config.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `id` | `str` Required. ID of the config variable. Must be unique within the configuration. |
| `value_type` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-apihub/latest/google.cloud.apihub_v1.types.ConfigVariableTemplate.ValueType` Required. Type of the parameter: string, int, bool etc. |
| `description` | `str` Optional. Description. |
| `validation_regex` | `str` Optional. Regular expression in RE2 syntax used for validating the `value` of a `ConfigVariable`. |
| `required` | `bool` Optional. Flag represents that this `ConfigVariable` must be provided for a PluginInstance. |
| `enum_options` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-apihub/latest/google.cloud.apihub_v1.types.ConfigValueOption]` Optional. Enum options. To be populated if `ValueType` is `ENUM`. |
| `multi_select_options` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-apihub/latest/google.cloud.apihub_v1.types.ConfigValueOption]` Optional. Multi select options. To be populated if `ValueType` is `MULTI_SELECT`. |

## Classes

### ValueType

    ValueType(value)

ValueType indicates the data type of the value.