supported_database_flags
Creates, updates, deletes, gets or lists a supported_database_flags
resource.
Overview
Name | supported_database_flags |
Type | Resource |
Id | google.alloydb.supported_database_flags |
Fields
Name | Datatype | Description |
---|---|---|
name | string | 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. |
acceptsMultipleValues | boolean | Whether the database flag accepts multiple values. If true, a comma-separated list of stringified values may be specified. |
flagName | string | The name of the database flag, e.g. "max_allowed_packets". The is a possibly key for the Instance.database_flags map field. |
integerRestrictions | object | Restrictions on INTEGER type values. |
requiresDbRestart | boolean | 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 | object | Restrictions on STRING type values |
supportedDbVersions | array | Major database engine versions for which this flag is supported. |
valueType | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | locationsId, projectsId | Lists 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 }}';