1.2.0 (latest) 1.1.0 1.0.0

    public sealed class ConfigVariableTemplate : IMessage<ConfigVariableTemplate>, IEquatable<ConfigVariableTemplate>, IDeepCloneable<ConfigVariableTemplate>, IBufferMessage, IMessage

Reference documentation and code samples for the API hub v1 API class ConfigVariableTemplate.

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

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ConfigVariableTemplate

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ConfigVariableTemplate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ConfigVariableTemplate.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ConfigVariableTemplate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ConfigVariableTemplate.md.txt), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ConfigVariableTemplate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ConfigVariableTemplate.md.txt), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.ApiHub.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.md.txt)

## Assembly

Google.Cloud.ApiHub.V1.dll

## Constructors

### ConfigVariableTemplate()

    public ConfigVariableTemplate()

### ConfigVariableTemplate(ConfigVariableTemplate)

    public ConfigVariableTemplate(ConfigVariableTemplate other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ConfigVariableTemplate` |

## Properties

### Description

    public string Description { get; set; }

Optional. Description.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### EnumOptions

    public RepeatedField<ConfigValueOption> EnumOptions { get; }

Optional. Enum options. To be populated if `ValueType` is `ENUM`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldConfigValueOption` |   |

### Id

    public string Id { get; set; }

Required. ID of the config variable. Must be unique within the
configuration.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### MultiSelectOptions

    public RepeatedField<ConfigValueOption> MultiSelectOptions { get; }

Optional. Multi select options. To be populated if `ValueType` is
`MULTI_SELECT`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldConfigValueOption` |   |

### Required

    public bool Required { get; set; }

Optional. Flag represents that this `ConfigVariable` must be provided for a
PluginInstance.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### ValidationRegex

    public string ValidationRegex { get; set; }

Optional. Regular expression in RE2 syntax used for validating the `value`
of a `ConfigVariable`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ValueType

    public ConfigVariableTemplate.Types.ValueType ValueType { get; set; }

Required. Type of the parameter: string, int, bool etc.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ConfigVariableTemplateTypesValueType` |   |