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

Reference documentation and code samples for the Design Center v1 API class DisplayVariableToggle.

Display variable toggle.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.DesignCenter.V1.dll

## Constructors

### DisplayVariableToggle()

    public DisplayVariableToggle()

### DisplayVariableToggle(DisplayVariableToggle)

    public DisplayVariableToggle(DisplayVariableToggle other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.DisplayVariableToggle` |

## Properties

### Variable

    public string Variable { get; set; }

Output only. The name of the variable used to toggle the display of another
variable.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### VariableType

    public DisplayVariableToggle.Types.ToggleVariableType VariableType { get; set; }

Output only. The type of the variable used to toggle the display of another
variable.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.DisplayVariableTogglehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.DisplayVariableToggle.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.DisplayVariableToggle.Types.ToggleVariableType` |   |

### VariableValues

    public RepeatedField<string> VariableValues { get; }

Output only. The value of the variable used to toggle the display of
another variable.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |