Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudApihubV1ConfigVariableTemplate

import type { GoogleCloudApihubV1ConfigVariableTemplate } from "https://googleapis.deno.dev/v1/apihub:v1.ts";

ConfigVariableTemplate represents a configuration variable template present in a Plugin Config.

interface GoogleCloudApihubV1ConfigVariableTemplate {
description?: string;
id?: string;
multiSelectOptions?: GoogleCloudApihubV1ConfigValueOption[];
required?: boolean;
validationRegex?: string;
valueType?:
| "VALUE_TYPE_UNSPECIFIED"
| "STRING"
| "INT"
| "BOOL"
| "SECRET"
| "ENUM"
| "MULTI_SELECT"
| "MULTI_STRING"
| "MULTI_INT";
}

§Properties

§
description?: string
[src]

Optional. Description.

§

Optional. Enum options. To be populated if ValueType is ENUM.

§
id?: string
[src]

Required. ID of the config variable. Must be unique within the configuration.

§

Optional. Multi select options. To be populated if ValueType is MULTI_SELECT.

§
required?: boolean
[src]

Optional. Flag represents that this ConfigVariable must be provided for a PluginInstance.

§
validationRegex?: string
[src]

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

§
valueType?: "VALUE_TYPE_UNSPECIFIED" | "STRING" | "INT" | "BOOL" | "SECRET" | "ENUM" | "MULTI_SELECT" | "MULTI_STRING" | "MULTI_INT"
[src]

Required. Type of the parameter: string, int, bool etc.