Class ConfigVariableTemplate (0.2.7)

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

ConfigVariableTemplate represents a configuration variable template present in a Plugin Config.

Attributes

Name Description
id str
Required. ID of the config variable. Must be unique within the configuration.
value_type google.cloud.apihub_v1.types.ConfigVariableTemplate.ValueType
Required. Type of the parameter: string, int, bool etc.
description str
Optional. Description.
validation_regex str
Optional. Regular expression in RE2 syntax used for validating the value of a ConfigVariable.
required bool
Optional. Flag represents that this ConfigVariable must be provided for a PluginInstance.
enum_options MutableSequence[google.cloud.apihub_v1.types.ConfigValueOption]
Optional. Enum options. To be populated if ValueType is ENUM.
multi_select_options MutableSequence[google.cloud.apihub_v1.types.ConfigValueOption]
Optional. Multi select options. To be populated if ValueType is MULTI_SELECT.

Classes

ValueType

ValueType(value)

ValueType indicates the data type of the value.