1.3.0 (latest) 1.2.0 1.1.0 1.0.0

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

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

ConfigVariable represents a additional configuration variable present in a
PluginInstance Config or AuthConfig, based on a ConfigVariableTemplate.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ConfigVariable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ConfigVariable.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ConfigVariable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ConfigVariable.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ConfigVariable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiHub.V1/latest/Google.Cloud.ApiHub.V1.ConfigVariable.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.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

### ConfigVariable()

    public ConfigVariable()

### ConfigVariable(ConfigVariable)

    public ConfigVariable(ConfigVariable other)

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

## Properties

### BoolValue

    public bool BoolValue { get; set; }

Optional. The config variable value in case of config variable of type
boolean.

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

### EnumValue

    public ConfigValueOption EnumValue { get; set; }

Optional. The config variable value in case of config variable of type
enum.

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

### HasBoolValue

    public bool HasBoolValue { get; }

Gets whether the "bool_value" field is set

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

### HasIntValue

    public bool HasIntValue { get; }

Gets whether the "int_value" field is set

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

### HasStringValue

    public bool HasStringValue { get; }

Gets whether the "string_value" field is set

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

### IntValue

    public long IntValue { get; set; }

Optional. The config variable value in case of config variable of type
integer.

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

### Key

    public string Key { get; set; }

Output only. Key will be the
\[id\]\[google.cloud.apihub.v1.ConfigVariableTemplate.id\] to uniquely identify
the config variable.

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

### MultiIntValues

    public ConfigVariable.Types.MultiIntValues MultiIntValues { get; set; }

Optional. The config variable value in case of config variable of type
multi integer.

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

### MultiSelectValues

    public ConfigVariable.Types.MultiSelectValues MultiSelectValues { get; set; }

Optional. The config variable value in case of config variable of type
multi select.

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

### MultiStringValues

    public ConfigVariable.Types.MultiStringValues MultiStringValues { get; set; }

Optional. The config variable value in case of config variable of type
multi string.

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

### SecretValue

    public Secret SecretValue { get; set; }

Optional. The config variable value in case of config variable of type
secret.

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

### StringValue

    public string StringValue { get; set; }

Optional. The config variable value in case of config variable of type
string.

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

### ValueCase

    public ConfigVariable.ValueOneofCase ValueCase { get; }

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