Class DisplayVariable (0.1.0)

DisplayVariable(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Additional display specific Template pertaining to a particular input variable.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
name str
Required. The variable name from the corresponding standard Template file.
title str
Required. Visible title for the variable on the UI.
alternate_defaults MutableSequence[google.cloud.designcenter_v1.types.AlternateDefaultInput]
Optional. Alternate defaults for the input.
regex_validation str
Optional. Regex based validation rules for the variable.
min_ float
Optional. Minimum value for numeric types. This field is a member of oneof_ _min.
max_ float
Optional. Maximum value for numeric types. This field is a member of oneof_ _max.
validation str
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.
enum_value_labels MutableSequence[google.cloud.designcenter_v1.types.ValueLabelInput]
Optional. Labels for enum values. Values must be UTF-8 text with no markup, and at most 64 characters.
level int
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 str
Optional. Property subtext, displayed below the title.
properties MutableMapping[str, google.cloud.designcenter_v1.types.DisplayVariable]
Optional. properties is a map defining all the fields of the input variable.

Classes

PropertiesEntry

PropertiesEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.