Skip to main content

supported_database_flags

Creates, updates, deletes, gets or lists a supported_database_flags resource.

Overview

Namesupported_database_flags
TypeResource
Idgoogle.alloydb.supported_database_flags

Fields

NameDatatypeDescription
namestringThe name of the flag resource, following Google Cloud conventions, e.g.: * projects/{project}/locations/{location}/flags/{flag} This field currently has no semantic meaning.
acceptsMultipleValuesbooleanWhether the database flag accepts multiple values. If true, a comma-separated list of stringified values may be specified.
flagNamestringThe name of the database flag, e.g. "max_allowed_packets". The is a possibly key for the Instance.database_flags map field.
integerRestrictionsobjectRestrictions on INTEGER type values.
requiresDbRestartbooleanWhether 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).
stringRestrictionsobjectRestrictions on STRING type values
supportedDbVersionsarrayMajor database engine versions for which this flag is supported.
valueTypestring

Methods

NameAccessible byRequired ParamsDescription
listSELECTlocationsId, projectsIdLists SupportedDatabaseFlags for a given project and location.

SELECT examples

Lists SupportedDatabaseFlags for a given project and location.

SELECT
name,
acceptsMultipleValues,
flagName,
integerRestrictions,
requiresDbRestart,
stringRestrictions,
supportedDbVersions,
valueType
FROM google.alloydb.supported_database_flags
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';