# TerraformUiInputDisplayVariable

- [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/TerraformUiInputDisplayVariable#SCHEMA_REPRESENTATION)
- [ValueLabel](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/TerraformUiInputDisplayVariable#ValueLabel)
  - [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/TerraformUiInputDisplayVariable#ValueLabel.SCHEMA_REPRESENTATION)

Terraform blueprint UI input display variable.

| JSON representation |
|---|
| ``` { "displayName": string, "title": string, "alternateDefaults": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/AlternateDefault`) } ], "regexValidation": string, "min": number, "max": number, "validation": string, "enumValueLabels": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/TerraformUiInputDisplayVariable#ValueLabel`) } ], "level": integer, "subtext": string, "toggleUsingVariables": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/DisplayVariableToggle`) } ], "properties": { string: { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/TerraformUiInputDisplayVariable`) }, ... } } ``` |

| Fields ||
|---|---|
| `displayName` | `string` Output only. Display name of the input. |
| `title` | `string` Output only. Title of the input. |
| `alternateDefaults[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/AlternateDefault`)`` Output only. Alternate defaults for the input. |
| `regexValidation` | `string` Output only. Regex based validation rules for the variable. |
| `min` | `number` Output only. Minimum value for numeric types. |
| `max` | `number` Output only. Maximum value for numeric types. |
| `validation` | `string` Output only. Text describing the validation rules for the property. Typically shown after an invalid input. Optional. UTF-8 text. No markup. At most 128 characters. |
| `enumValueLabels[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/TerraformUiInputDisplayVariable#ValueLabel`)`` Output only. Labels for enum values. Values must be UTF-8 text with no markup, and at most 64 characters. |
| `level` | `integer` Output only. Indicates the "advanced" level of the input property. Level 0 (default) will always be shown. Level 1 corresponds to one expansion (user clicks "show advanced options" or "more options"). Higher levels correspond to further expansions, or they may be collapsed to level 1 by the UI implementation. Optional. |
| `subtext` | `string` Output only. Property subtext, displayed below the title. |
| `toggleUsingVariables[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/DisplayVariableToggle`)`` Output only. Variables used to toggle the display of another variable. |
| `properties` | ``map (key: string, value: object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/TerraformUiInputDisplayVariable`))`` Output only. A map that defines all fields of the input variable. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |

## ValueLabel

Value label for a UI input.

| JSON representation |
|---|
| ``` { "value": string, "label": string } ``` |

| Fields ||
|---|---|
| `value` | `string` Output only. Value of the enum. |
| `label` | `string` Output only. Label of the enum. |