Class ConfigVariableTemplate
ConfigVariableTemplate provides metadata about a ConfigVariable
that is used in a Connection.
Implements
Inherited Members
Namespace: Google.Apis.Connectors.v1.Data
Assembly: Google.Apis.Connectors.v1.dll
Syntax
public class ConfigVariableTemplate : IDirectResponseSchema
Properties
AuthorizationCodeLink
Authorization code link options. To be populated if ValueType
is AUTHORIZATION_CODE
Declaration
[JsonProperty("authorizationCodeLink")]
public virtual AuthorizationCodeLink AuthorizationCodeLink { get; set; }
Property Value
Type | Description |
---|---|
AuthorizationCodeLink |
Description
Description.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
Display name of the parameter.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnumOptions
Enum options. To be populated if ValueType
is ENUM
Declaration
[JsonProperty("enumOptions")]
public virtual IList<EnumOption> EnumOptions { get; set; }
Property Value
Type | Description |
---|---|
IList<EnumOption> |
EnumSource
Optional. enum source denotes the source of api to fill the enum options
Declaration
[JsonProperty("enumSource")]
public virtual string EnumSource { get; set; }
Property Value
Type | Description |
---|---|
string |
IsAdvanced
Indicates if current template is part of advanced settings
Declaration
[JsonProperty("isAdvanced")]
public virtual bool? IsAdvanced { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Key
Key of the config variable.
Declaration
[JsonProperty("key")]
public virtual string Key { get; set; }
Property Value
Type | Description |
---|---|
string |
LocationType
Optional. Location Tyep denotes where this value should be sent in BYOC connections.
Declaration
[JsonProperty("locationType")]
public virtual string LocationType { get; set; }
Property Value
Type | Description |
---|---|
string |
MultipleSelectConfig
Optional. MultipleSelectConfig represents the multiple options for a config variable.
Declaration
[JsonProperty("multipleSelectConfig")]
public virtual MultipleSelectConfig MultipleSelectConfig { get; set; }
Property Value
Type | Description |
---|---|
MultipleSelectConfig |
Required
Flag represents that this ConfigVariable
must be provided for a connection.
Declaration
[JsonProperty("required")]
public virtual bool? Required { get; set; }
Property Value
Type | Description |
---|---|
bool? |
RequiredCondition
Condition under which a field would be required. The condition can be represented in the form of a logical expression.
Declaration
[JsonProperty("requiredCondition")]
public virtual LogicalExpression RequiredCondition { get; set; }
Property Value
Type | Description |
---|---|
LogicalExpression |
RoleGrant
Role grant configuration for the config variable.
Declaration
[JsonProperty("roleGrant")]
public virtual RoleGrant RoleGrant { get; set; }
Property Value
Type | Description |
---|---|
RoleGrant |
State
State of the config variable.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
ValidationRegex
Regular expression in RE2 syntax used for validating the value
of a ConfigVariable
.
Declaration
[JsonProperty("validationRegex")]
public virtual string ValidationRegex { get; set; }
Property Value
Type | Description |
---|---|
string |
ValueType
Type of the parameter: string, int, bool etc. consider custom type for the benefit for the validation.
Declaration
[JsonProperty("valueType")]
public virtual string ValueType { get; set; }
Property Value
Type | Description |
---|---|
string |