Reference documentation and code samples for the Google Cloud Api Hub V1 Client class ConfigVariableTemplate.
ConfigVariableTemplate represents a configuration variable template present in a Plugin Config.
Generated from protobuf message google.cloud.apihub.v1.ConfigVariableTemplate
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ id
string
Required. ID of the config variable. Must be unique within the configuration.
↳ value_type
int
Required. Type of the parameter: string, int, bool etc.
↳ description
string
Optional. Description.
↳ validation_regex
string
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
↳ multi_select_options
array< ConfigValueOption
>
Optional. Multi select options. To be populated if ValueType
is MULTI_SELECT
.
getId
Required. ID of the config variable. Must be unique within the configuration.
string
setId
Required. ID of the config variable. Must be unique within the configuration.
var
string
$this
getValueType
Required. Type of the parameter: string, int, bool etc.
setValueType
Required. Type of the parameter: string, int, bool etc.
$this
getDescription
Optional. Description.
string
setDescription
Optional. Description.
var
string
$this
getValidationRegex
Optional. Regular expression in RE2 syntax used for validating the value
of a ConfigVariable
.
string
setValidationRegex
Optional. Regular expression in RE2 syntax used for validating the value
of a ConfigVariable
.
var
string
$this
getRequired
Optional. Flag represents that this ConfigVariable
must be provided for a
PluginInstance.
bool
setRequired
Optional. Flag represents that this ConfigVariable
must be provided for a
PluginInstance.
var
bool
$this
getEnumOptions
Optional. Enum options. To be populated if ValueType
is ENUM
.
setEnumOptions
Optional. Enum options. To be populated if ValueType
is ENUM
.
$this
getMultiSelectOptions
Optional. Multi select options. To be populated if ValueType
is MULTI_SELECT
.
setMultiSelectOptions
Optional. Multi select options. To be populated if ValueType
is MULTI_SELECT
.
$this

