AlloyDB V1 API - Class Google::Cloud::AlloyDB::V1::SupportedDatabaseFlag (v0.5.0)

Reference documentation and code samples for the AlloyDB V1 API class Google::Cloud::AlloyDB::V1::SupportedDatabaseFlag.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#accepts_multiple_values

def accepts_multiple_values() -> ::Boolean
Returns
  • (::Boolean) — Whether the database flag accepts multiple values. If true, a comma-separated list of stringified values may be specified.

#accepts_multiple_values=

def accepts_multiple_values=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether the database flag accepts multiple values. If true, a comma-separated list of stringified values may be specified.
Returns
  • (::Boolean) — Whether the database flag accepts multiple values. If true, a comma-separated list of stringified values may be specified.

#flag_name

def flag_name() -> ::String
Returns
  • (::String) — The name of the database flag, e.g. "max_allowed_packets". The is a possibly key for the Instance.database_flags map field.

#flag_name=

def flag_name=(value) -> ::String
Parameter
  • value (::String) — The name of the database flag, e.g. "max_allowed_packets". The is a possibly key for the Instance.database_flags map field.
Returns
  • (::String) — The name of the database flag, e.g. "max_allowed_packets". The is a possibly key for the Instance.database_flags map field.

#integer_restrictions

def integer_restrictions() -> ::Google::Cloud::AlloyDB::V1::SupportedDatabaseFlag::IntegerRestrictions
Returns

#integer_restrictions=

def integer_restrictions=(value) -> ::Google::Cloud::AlloyDB::V1::SupportedDatabaseFlag::IntegerRestrictions
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::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.

#name=

def name=(value) -> ::String
Parameter
  • value (::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.
Returns
  • (::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.

#requires_db_restart

def requires_db_restart() -> ::Boolean
Returns
  • (::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).

#requires_db_restart=

def requires_db_restart=(value) -> ::Boolean
Parameter
  • value (::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).
Returns
  • (::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).

#string_restrictions

def string_restrictions() -> ::Google::Cloud::AlloyDB::V1::SupportedDatabaseFlag::StringRestrictions
Returns

#string_restrictions=

def string_restrictions=(value) -> ::Google::Cloud::AlloyDB::V1::SupportedDatabaseFlag::StringRestrictions
Parameter
Returns

#supported_db_versions

def supported_db_versions() -> ::Array<::Google::Cloud::AlloyDB::V1::DatabaseVersion>
Returns

#supported_db_versions=

def supported_db_versions=(value) -> ::Array<::Google::Cloud::AlloyDB::V1::DatabaseVersion>
Parameter
Returns

#value_type

def value_type() -> ::Google::Cloud::AlloyDB::V1::SupportedDatabaseFlag::ValueType

#value_type=

def value_type=(value) -> ::Google::Cloud::AlloyDB::V1::SupportedDatabaseFlag::ValueType