GetSupportedDatabaseFlagsSupportedDatabaseFlag

data class GetSupportedDatabaseFlagsSupportedDatabaseFlag(val acceptsMultipleValues: Boolean, val flagName: String, val integerRestrictions: GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictions, val name: String, val requiresDbRestart: Boolean, val stringRestrictions: GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictions, val supportedDbVersions: List<String>, val valueType: String)

Constructors

constructor(acceptsMultipleValues: Boolean, flagName: String, integerRestrictions: GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictions, name: String, requiresDbRestart: Boolean, stringRestrictions: GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictions, supportedDbVersions: List<String>, valueType: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Restriction on INTEGER type value. Specifies the minimum value and the maximum value that can be specified, if applicable.

Link copied to clipboard

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.

Link copied to clipboard

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).

Link copied to clipboard

Restriction on STRING type value. The list of allowed values, if bounded. This field will be empty if there is a unbounded number of allowed values.

Link copied to clipboard

Major database engine versions for which this flag is supported. The supported values are POSTGRES_14 and DATABASE_VERSION_UNSPECIFIED.

Link copied to clipboard

ValueType describes the semantic type of the value that the flag accepts. Regardless of the ValueType, the Instance.database_flags field accepts the stringified version of the value, i.e. "20" or "3.14". The supported values are VALUE_TYPE_UNSPECIFIED, STRING, INTEGER, FLOAT and NONE.