public sealed class ConfigVariableTemplate : IMessage<ConfigVariableTemplate>, IEquatable<ConfigVariableTemplate>, IDeepCloneable<ConfigVariableTemplate>, IBufferMessage, IMessageReference documentation and code samples for the API hub v1 API class ConfigVariableTemplate.
ConfigVariableTemplate represents a configuration variable template present in a Plugin Config.
Implements
IMessageConfigVariableTemplate, IEquatableConfigVariableTemplate, IDeepCloneableConfigVariableTemplate, IBufferMessage, IMessageNamespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Constructors
ConfigVariableTemplate()
public ConfigVariableTemplate()ConfigVariableTemplate(ConfigVariableTemplate)
public ConfigVariableTemplate(ConfigVariableTemplate other)| Parameter | |
|---|---|
| Name | Description |
other |
ConfigVariableTemplate |
Properties
Description
public string Description { get; set; }Optional. Description.
| Property Value | |
|---|---|
| Type | Description |
string |
|
EnumOptions
public RepeatedField<ConfigValueOption> EnumOptions { get; }Optional. Enum options. To be populated if ValueType is ENUM.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldConfigValueOption |
|
Id
public string Id { get; set; }Required. ID of the config variable. Must be unique within the configuration.
| Property Value | |
|---|---|
| Type | Description |
string |
|
MultiSelectOptions
public RepeatedField<ConfigValueOption> MultiSelectOptions { get; }Optional. Multi select options. To be populated if ValueType is
MULTI_SELECT.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldConfigValueOption |
|
Required
public bool Required { get; set; }Optional. Flag represents that this ConfigVariable must be provided for a
PluginInstance.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
ValidationRegex
public string ValidationRegex { get; set; }Optional. Regular expression in RE2 syntax used for validating the value
of a ConfigVariable.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ValueType
public ConfigVariableTemplate.Types.ValueType ValueType { get; set; }Required. Type of the parameter: string, int, bool etc.
| Property Value | |
|---|---|
| Type | Description |
ConfigVariableTemplateTypesValueType |
|