View Source GoogleApi.AlloyDB.V1.Model.SupportedDatabaseFlag (google_api_alloy_db v0.14.0)

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.

Attributes

  • acceptsMultipleValues (type: boolean(), default: nil) - Whether the database flag accepts multiple values. If true, a comma-separated list of stringified values may be specified.
  • flagName (type: String.t, default: nil) - The name of the database flag, e.g. "max_allowed_packets". The is a possibly key for the Instance.database_flags map field.
  • integerRestrictions (type: GoogleApi.AlloyDB.V1.Model.IntegerRestrictions.t, default: nil) - Restriction on INTEGER type value.
  • name (type: String.t, default: nil) - 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 (type: boolean(), default: nil) - 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 (type: GoogleApi.AlloyDB.V1.Model.StringRestrictions.t, default: nil) - Restriction on STRING type value.
  • supportedDbVersions (type: list(String.t), default: nil) - Major database engine versions for which this flag is supported.
  • valueType (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AlloyDB.V1.Model.SupportedDatabaseFlag{
  acceptsMultipleValues: boolean() | nil,
  flagName: String.t() | nil,
  integerRestrictions: GoogleApi.AlloyDB.V1.Model.IntegerRestrictions.t() | nil,
  name: String.t() | nil,
  requiresDbRestart: boolean() | nil,
  stringRestrictions: GoogleApi.AlloyDB.V1.Model.StringRestrictions.t() | nil,
  supportedDbVersions: [String.t()] | nil,
  valueType: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.