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

SupportedDatabaseFlag

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

SupportedDatabaseFlag gives general information about a database flag, like type and allowed values. This is a static value that is defined on the server side, and it cannot be modified by callers. To set the Database flags on a particular Instance, a caller should modify the Instance.database_flags field.

interface SupportedDatabaseFlag {
acceptsMultipleValues?: boolean;
flagName?: string;
integerRestrictions?: IntegerRestrictions;
name?: string;
requiresDbRestart?: boolean;
stringRestrictions?: StringRestrictions;
supportedDbVersions?:
| "DATABASE_VERSION_UNSPECIFIED"
| "POSTGRES_13"
| "POSTGRES_14"
| "POSTGRES_15"[];
valueType?:
| "VALUE_TYPE_UNSPECIFIED"
| "STRING"
| "INTEGER"
| "FLOAT"
| "NONE";
}

§Properties

§
acceptsMultipleValues?: boolean
[src]

Whether the database flag accepts multiple values. If true, a comma-separated list of stringified values may be specified.

§
flagName?: string
[src]

The name of the database flag, e.g. "max_allowed_packets". The is a possibly key for the Instance.database_flags map field.

§
integerRestrictions?: IntegerRestrictions
[src]

Restriction on INTEGER type value.

§
name?: string
[src]

The name of the flag resource, following Google Cloud conventions, e.g.: * projects/{project}/locations/{location}/flags/{flag} This field currently has no semantic meaning.

§
requiresDbRestart?: boolean
[src]

Whether setting or updating this flag on an Instance requires a database restart. If a flag that requires database restart is set, the backend will automatically restart the database (making sure to satisfy any availability SLO's).

§
stringRestrictions?: StringRestrictions
[src]

Restriction on STRING type value.

§
supportedDbVersions?: "DATABASE_VERSION_UNSPECIFIED" | "POSTGRES_13" | "POSTGRES_14" | "POSTGRES_15"[]
[src]

Major database engine versions for which this flag is supported.

§
valueType?: "VALUE_TYPE_UNSPECIFIED" | "STRING" | "INTEGER" | "FLOAT" | "NONE"
[src]