Reference documentation and code samples for the Design Center V1 API class Google::Cloud::DesignCenter::V1::DisplayVariable.
Additional display specific Template pertaining to a particular input variable.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#alternate_defaults
def alternate_defaults() -> ::Array<::Google::Cloud::DesignCenter::V1::AlternateDefaultInput>
Returns
- (::Array<::Google::Cloud::DesignCenter::V1::AlternateDefaultInput>) — Optional. Alternate defaults for the input.
#alternate_defaults=
def alternate_defaults=(value) -> ::Array<::Google::Cloud::DesignCenter::V1::AlternateDefaultInput>
Parameter
- value (::Array<::Google::Cloud::DesignCenter::V1::AlternateDefaultInput>) — Optional. Alternate defaults for the input.
Returns
- (::Array<::Google::Cloud::DesignCenter::V1::AlternateDefaultInput>) — Optional. Alternate defaults for the input.
#enum_value_labels
def enum_value_labels() -> ::Array<::Google::Cloud::DesignCenter::V1::ValueLabelInput>
Returns
- (::Array<::Google::Cloud::DesignCenter::V1::ValueLabelInput>) — Optional. Labels for enum values. Values must be UTF-8 text with no markup, and at most 64 characters.
#enum_value_labels=
def enum_value_labels=(value) -> ::Array<::Google::Cloud::DesignCenter::V1::ValueLabelInput>
Parameter
- value (::Array<::Google::Cloud::DesignCenter::V1::ValueLabelInput>) — Optional. Labels for enum values. Values must be UTF-8 text with no markup, and at most 64 characters.
Returns
- (::Array<::Google::Cloud::DesignCenter::V1::ValueLabelInput>) — Optional. Labels for enum values. Values must be UTF-8 text with no markup, and at most 64 characters.
#level
def level() -> ::Integer
Returns
- (::Integer) — 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.
#level=
def level=(value) -> ::Integer
Parameter
- value (::Integer) — 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.
Returns
- (::Integer) — 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.
#max
def max() -> ::Float
Returns
- (::Float) — Optional. Maximum value for numeric types.
#max=
def max=(value) -> ::Float
Parameter
- value (::Float) — Optional. Maximum value for numeric types.
Returns
- (::Float) — Optional. Maximum value for numeric types.
#min
def min() -> ::Float
Returns
- (::Float) — Optional. Minimum value for numeric types.
#min=
def min=(value) -> ::Float
Parameter
- value (::Float) — Optional. Minimum value for numeric types.
Returns
- (::Float) — Optional. Minimum value for numeric types.
#name
def name() -> ::String
Returns
- (::String) — Required. The variable name from the corresponding standard Template file.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Required. The variable name from the corresponding standard Template file.
Returns
- (::String) — Required. The variable name from the corresponding standard Template file.
#properties
def properties() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::DesignCenter::V1::DisplayVariable}
Returns
- (::Google::Protobuf::Map{::String => ::Google::Cloud::DesignCenter::V1::DisplayVariable}) — Optional. properties is a map defining all the fields of the input variable.
#properties=
def properties=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::DesignCenter::V1::DisplayVariable}
Parameter
- value (::Google::Protobuf::Map{::String => ::Google::Cloud::DesignCenter::V1::DisplayVariable}) — Optional. properties is a map defining all the fields of the input variable.
Returns
- (::Google::Protobuf::Map{::String => ::Google::Cloud::DesignCenter::V1::DisplayVariable}) — Optional. properties is a map defining all the fields of the input variable.
#regex_validation
def regex_validation() -> ::String
Returns
- (::String) — Optional. Regex based validation rules for the variable.
#regex_validation=
def regex_validation=(value) -> ::String
Parameter
- value (::String) — Optional. Regex based validation rules for the variable.
Returns
- (::String) — Optional. Regex based validation rules for the variable.
#subtext
def subtext() -> ::String
Returns
- (::String) — Optional. Property subtext, displayed below the title.
#subtext=
def subtext=(value) -> ::String
Parameter
- value (::String) — Optional. Property subtext, displayed below the title.
Returns
- (::String) — Optional. Property subtext, displayed below the title.
#title
def title() -> ::String
Returns
- (::String) — Required. Visible title for the variable on the UI.
#title=
def title=(value) -> ::String
Parameter
- value (::String) — Required. Visible title for the variable on the UI.
Returns
- (::String) — Required. Visible title for the variable on the UI.
#validation
def validation() -> ::String
Returns
- (::String) — 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.
#validation=
def validation=(value) -> ::String
Parameter
- value (::String) — 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.
Returns
- (::String) — 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.