Integration Connectors v1 API - Class ConfigVariableTemplate (1.0.0)

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

Reference documentation and code samples for the Integration Connectors v1 API class ConfigVariableTemplate.

ConfigVariableTemplate provides metadata about a ConfigVariable that is used in a Connection.

Inheritance

object > ConfigVariableTemplate

Namespace

Google.Cloud.Connectors.V1

Assembly

Google.Cloud.Connectors.V1.dll

Constructors

ConfigVariableTemplate()

public ConfigVariableTemplate()

ConfigVariableTemplate(ConfigVariableTemplate)

public ConfigVariableTemplate(ConfigVariableTemplate other)
Parameter
NameDescription
otherConfigVariableTemplate

Properties

public AuthorizationCodeLink AuthorizationCodeLink { get; set; }

Authorization code link options. To be populated if ValueType is AUTHORIZATION_CODE

Property Value
TypeDescription
AuthorizationCodeLink

Description

public string Description { get; set; }

Description.

Property Value
TypeDescription
string

DisplayName

public string DisplayName { get; set; }

Display name of the parameter.

Property Value
TypeDescription
string

EnumOptions

public RepeatedField<EnumOption> EnumOptions { get; }

Enum options. To be populated if ValueType is ENUM

Property Value
TypeDescription
RepeatedFieldEnumOption

IsAdvanced

public bool IsAdvanced { get; set; }

Indicates if current template is part of advanced settings

Property Value
TypeDescription
bool

Key

public string Key { get; set; }

Key of the config variable.

Property Value
TypeDescription
string

Required

public bool Required { get; set; }

Flag represents that this ConfigVariable must be provided for a connection.

Property Value
TypeDescription
bool

RoleGrant

public RoleGrant RoleGrant { get; set; }

Role grant configuration for the config variable.

Property Value
TypeDescription
RoleGrant

State

public ConfigVariableTemplate.Types.State State { get; set; }

State of the config variable.

Property Value
TypeDescription
ConfigVariableTemplateTypesState

ValidationRegex

public string ValidationRegex { get; set; }

Regular expression in RE2 syntax used for validating the value of a ConfigVariable.

Property Value
TypeDescription
string

ValueType

public ConfigVariableTemplate.Types.ValueType ValueType { get; set; }

Type of the parameter: string, int, bool etc. consider custom type for the benefit for the validation.

Property Value
TypeDescription
ConfigVariableTemplateTypesValueType