Reference documentation and code samples for the Google Cloud Design Center V1 Client class TerraformUiInputDisplayVariable.
Terraform blueprint UI input display variable.
Generated from protobuf message google.cloud.designcenter.v1.TerraformUiInputDisplayVariable
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ display_name |
string
Output only. Display name of the input. |
↳ title |
string
Output only. Title of the input. |
↳ alternate_defaults |
array<AlternateDefault>
Output only. Alternate defaults for the input. |
↳ regex_validation |
string
Output only. Regex based validation rules for the variable. |
↳ min |
float
Output only. Minimum value for numeric types. |
↳ max |
float
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. |
↳ enum_value_labels |
array<ValueLabel>
Output only. Labels for enum values. Values must be UTF-8 text with no markup, and at most 64 characters. |
↳ level |
int
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. |
↳ toggle_using_variables |
array<DisplayVariableToggle>
Output only. Variables used to toggle the display of another variable. |
↳ properties |
array|Google\Protobuf\Internal\MapField
Output only. A map that defines all fields of the input variable. |
getDisplayName
Output only. Display name of the input.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
Output only. Display name of the input.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTitle
Output only. Title of the input.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTitle
Output only. Title of the input.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAlternateDefaults
Output only. Alternate defaults for the input.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<AlternateDefault> |
|
setAlternateDefaults
Output only. Alternate defaults for the input.
| Parameter | |
|---|---|
| Name | Description |
var |
array<AlternateDefault>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRegexValidation
Output only. Regex based validation rules for the variable.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRegexValidation
Output only. Regex based validation rules for the variable.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMin
Output only. Minimum value for numeric types.
| Returns | |
|---|---|
| Type | Description |
float |
|
setMin
Output only. Minimum value for numeric types.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMax
Output only. Maximum value for numeric types.
| Returns | |
|---|---|
| Type | Description |
float |
|
setMax
Output only. Maximum value for numeric types.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getValidation
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.
| Returns | |
|---|---|
| Type | Description |
string |
|
setValidation
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.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEnumValueLabels
Output only. Labels for enum values.
Values must be UTF-8 text with no markup, and at most 64 characters.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<ValueLabel> |
|
setEnumValueLabels
Output only. Labels for enum values.
Values must be UTF-8 text with no markup, and at most 64 characters.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ValueLabel>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLevel
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.
| Returns | |
|---|---|
| Type | Description |
int |
|
setLevel
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.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSubtext
Output only. Property subtext, displayed below the title.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSubtext
Output only. Property subtext, displayed below the title.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getToggleUsingVariables
Output only. Variables used to toggle the display of another variable.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<DisplayVariableToggle> |
|
setToggleUsingVariables
Output only. Variables used to toggle the display of another variable.
| Parameter | |
|---|---|
| Name | Description |
var |
array<DisplayVariableToggle>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProperties
Output only. A map that defines all fields of the input variable.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setProperties
Output only. A map that defines all fields of the input variable.
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|