Additional display specific Template pertaining to a particular input variable.
| JSON representation |
|---|
{ "name": string, "title": string, "alternateDefaults": [ { object ( |
| Fields | |
|---|---|
name |
Required. The variable name from the corresponding standard Template file. |
title |
Required. Visible title for the variable on the UI. |
alternateDefaults[] |
Optional. Alternate defaults for the input. |
regexValidation |
Optional. Regex based validation rules for the variable. |
validation |
Optional. 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[] |
Optional. Labels for enum values. Values must be UTF-8 text with no markup, and at most 64 characters. |
level |
Optional. 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 |
Optional. Property subtext, displayed below the title. |
properties |
Optional. properties is a map defining all the fields of the input variable. An object containing a list of |
min |
Optional. Minimum value for numeric types. |
max |
Optional. Maximum value for numeric types. |
ValueLabelInput
Value label input for a UI.
| JSON representation |
|---|
{ "value": string, "label": string } |
| Fields | |
|---|---|
value |
Optional. Value of the enum. |
label |
Optional. Label of the enum. |