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

XPSDataType

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

Indicated the type of data that can be stored in a structured data entity (e.g. a table).

interface XPSDataType {
compatibleDataTypes?: XPSDataType[];
listElementType?: XPSDataType;
nullable?: boolean;
structType?: XPSStructType;
timeFormat?: string;
typeCode?:
| "TYPE_CODE_UNSPECIFIED"
| "FLOAT64"
| "TIMESTAMP"
| "STRING"
| "ARRAY"
| "STRUCT"
| "CATEGORY";
}

§Properties

§
compatibleDataTypes?: XPSDataType[]
[src]

The highly compatible data types to this data type.

§
listElementType?: XPSDataType
[src]

If type_code == ARRAY, then list_element_type is the type of the elements.

§
nullable?: boolean
[src]

If true, this DataType can also be null.

§
structType?: XPSStructType
[src]

If type_code == STRUCT, then struct_type provides type information for the struct's fields.

§
timeFormat?: string
[src]

If type_code == TIMESTAMP then time_format provides the format in which that time field is expressed. The time_format must be written in strftime syntax. If time_format is not set, then the default format as described on the field is used.

§
typeCode?: "TYPE_CODE_UNSPECIFIED" | "FLOAT64" | "TIMESTAMP" | "STRING" | "ARRAY" | "STRUCT" | "CATEGORY"
[src]

Required. The TypeCode for this type.