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

InputParameter

import type { InputParameter } from "https://googleapis.deno.dev/v1/connectors:v2.ts";

Input Parameter message contains metadata about the parameters required for executing an Action.

interface InputParameter {
additionalDetails?: {
[key: string]: any;
}
;
dataType?:
| "DATA_TYPE_UNSPECIFIED"
| "INT"
| "SMALLINT"
| "DOUBLE"
| "DATE"
| "DATETIME"
| "TIME"
| "STRING"
| "LONG"
| "BOOLEAN"
| "DECIMAL"
| "UUID"
| "BLOB"
| "BIT"
| "TINYINT"
| "INTEGER"
| "BIGINT"
| "FLOAT"
| "REAL"
| "NUMERIC"
| "CHAR"
| "VARCHAR"
| "LONGVARCHAR"
| "TIMESTAMP"
| "NCHAR"
| "NVARCHAR"
| "LONGNVARCHAR"
| "NULL"
| "OTHER"
| "JAVA_OBJECT"
| "DISTINCT"
| "STRUCT"
| "ARRAY"
| "CLOB"
| "REF"
| "DATALINK"
| "ROWID"
| "BINARY"
| "VARBINARY"
| "LONGVARBINARY"
| "NCLOB"
| "SQLXML"
| "REF_CURSOR"
| "TIME_WITH_TIMEZONE"
| "TIMESTAMP_WITH_TIMEZONE";
defaultValue?: any;
description?: string;
jsonSchema?: JsonSchema;
name?: string;
nullable?: boolean;
}

§Properties

§
additionalDetails?: {
[key: string]: any;
}
[src]

The following map contains fields that are not explicitly mentioned above,this give connectors the flexibility to add new metadata fields.

§
dataType?: "DATA_TYPE_UNSPECIFIED" | "INT" | "SMALLINT" | "DOUBLE" | "DATE" | "DATETIME" | "TIME" | "STRING" | "LONG" | "BOOLEAN" | "DECIMAL" | "UUID" | "BLOB" | "BIT" | "TINYINT" | "INTEGER" | "BIGINT" | "FLOAT" | "REAL" | "NUMERIC" | "CHAR" | "VARCHAR" | "LONGVARCHAR" | "TIMESTAMP" | "NCHAR" | "NVARCHAR" | "LONGNVARCHAR" | "NULL" | "OTHER" | "JAVA_OBJECT" | "DISTINCT" | "STRUCT" | "ARRAY" | "CLOB" | "REF" | "DATALINK" | "ROWID" | "BINARY" | "VARBINARY" | "LONGVARBINARY" | "NCLOB" | "SQLXML" | "REF_CURSOR" | "TIME_WITH_TIMEZONE" | "TIMESTAMP_WITH_TIMEZONE"
[src]

The data type of the Parameter

§
defaultValue?: any
[src]

The following field specifies the default value of the Parameter provided by the external system if a value is not provided.

§
description?: string
[src]

A brief description of the Parameter.

§
jsonSchema?: JsonSchema
[src]

JsonSchema of the parameter, applicable only if parameter is of type STRUCT

§
name?: string
[src]

Name of the Parameter.

§
nullable?: boolean
[src]

Specifies whether a null value is allowed.