Integration Connectors v1 API - Class ConfigVariableTemplate (1.2.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
Name Description
other ConfigVariableTemplate

Properties

public AuthorizationCodeLink AuthorizationCodeLink { get; set; }

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

Property Value
Type Description
AuthorizationCodeLink

Description

public string Description { get; set; }

Description.

Property Value
Type Description
string

DisplayName

public string DisplayName { get; set; }

Display name of the parameter.

Property Value
Type Description
string

EnumOptions

public RepeatedField<EnumOption> EnumOptions { get; }

Enum options. To be populated if ValueType is ENUM

Property Value
Type Description
RepeatedFieldEnumOption

IsAdvanced

public bool IsAdvanced { get; set; }

Indicates if current template is part of advanced settings

Property Value
Type Description
bool

Key

public string Key { get; set; }

Key of the config variable.

Property Value
Type Description
string

Required

public bool Required { get; set; }

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

Property Value
Type Description
bool

RoleGrant

public RoleGrant RoleGrant { get; set; }

Role grant configuration for the config variable.

Property Value
Type Description
RoleGrant

State

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

State of the config variable.

Property Value
Type Description
ConfigVariableTemplateTypesState

ValidationRegex

public string ValidationRegex { get; set; }

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; }

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

Property Value
Type Description
ConfigVariableTemplateTypesValueType