1.4.0 (latest) 1.3.0 1.2.0 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 Integration Connectors v1 API class ConfigVariableTemplate.

ConfigVariableTemplate provides metadata about a `ConfigVariable` that is
used in a Connection.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ConfigVariableTemplate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.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.Connectors.V1/latest/Google.Cloud.Connectors.V1.ConfigVariableTemplate.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ConfigVariableTemplate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.ConfigVariableTemplate.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.Connectors.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Connectors.V1/latest/Google.Cloud.Connectors.V1.md.txt)

## Assembly

Google.Cloud.Connectors.V1.dll

## Constructors

### ConfigVariableTemplate()

    public ConfigVariableTemplate()

### ConfigVariableTemplate(ConfigVariableTemplate)

    public ConfigVariableTemplate(ConfigVariableTemplate other)

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

## Properties

### AuthorizationCodeLink

    public AuthorizationCodeLink AuthorizationCodeLink { get; set; }

Authorization code link options. To be populated if `ValueType` is
`AUTHORIZATION_CODE`

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

### Description

    public string Description { get; set; }

Description.

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

### DisplayName

    public string DisplayName { get; set; }

Display name of the parameter.

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

### EnumOptions

    public RepeatedField<EnumOption> EnumOptions { get; }

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

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

### IsAdvanced

    public bool IsAdvanced { get; set; }

Indicates if current template is part of advanced settings

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

### Key

    public string Key { get; set; }

Key of the config variable.

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

### Required

    public bool Required { get; set; }

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

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

### RoleGrant

    public RoleGrant RoleGrant { get; set; }

Role grant configuration for the config variable.

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

### State

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

State of the config variable.

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

### ValidationRegex

    public string ValidationRegex { get; set; }

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; }

Type of the parameter: string, int, bool etc.
consider custom type for the benefit for the validation.

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