API hub v1 API - Class ConfigVariable (1.1.0)

public sealed class ConfigVariable : IMessage<ConfigVariable>, IEquatable<ConfigVariable>, IDeepCloneable<ConfigVariable>, IBufferMessage, IMessage

Reference documentation and code samples for the API hub v1 API class ConfigVariable.

ConfigVariable represents a additional configuration variable present in a PluginInstance Config or AuthConfig, based on a ConfigVariableTemplate.

Inheritance

object > ConfigVariable

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

ConfigVariable()

public ConfigVariable()

ConfigVariable(ConfigVariable)

public ConfigVariable(ConfigVariable other)
Parameter
Name Description
other ConfigVariable

Properties

BoolValue

public bool BoolValue { get; set; }

Optional. The config variable value in case of config variable of type boolean.

Property Value
Type Description
bool

EnumValue

public ConfigValueOption EnumValue { get; set; }

Optional. The config variable value in case of config variable of type enum.

Property Value
Type Description
ConfigValueOption

HasBoolValue

public bool HasBoolValue { get; }

Gets whether the "bool_value" field is set

Property Value
Type Description
bool

HasIntValue

public bool HasIntValue { get; }

Gets whether the "int_value" field is set

Property Value
Type Description
bool

HasStringValue

public bool HasStringValue { get; }

Gets whether the "string_value" field is set

Property Value
Type Description
bool

IntValue

public long IntValue { get; set; }

Optional. The config variable value in case of config variable of type integer.

Property Value
Type Description
long

Key

public string Key { get; set; }

Output only. Key will be the [id][google.cloud.apihub.v1.ConfigVariableTemplate.id] to uniquely identify the config variable.

Property Value
Type Description
string

MultiIntValues

public ConfigVariable.Types.MultiIntValues MultiIntValues { get; set; }

Optional. The config variable value in case of config variable of type multi integer.

Property Value
Type Description
ConfigVariableTypesMultiIntValues

MultiSelectValues

public ConfigVariable.Types.MultiSelectValues MultiSelectValues { get; set; }

Optional. The config variable value in case of config variable of type multi select.

Property Value
Type Description
ConfigVariableTypesMultiSelectValues

MultiStringValues

public ConfigVariable.Types.MultiStringValues MultiStringValues { get; set; }

Optional. The config variable value in case of config variable of type multi string.

Property Value
Type Description
ConfigVariableTypesMultiStringValues

SecretValue

public Secret SecretValue { get; set; }

Optional. The config variable value in case of config variable of type secret.

Property Value
Type Description
Secret

StringValue

public string StringValue { get; set; }

Optional. The config variable value in case of config variable of type string.

Property Value
Type Description
string

ValueCase

public ConfigVariable.ValueOneofCase ValueCase { get; }
Property Value
Type Description
ConfigVariableValueOneofCase