Reference documentation and code samples for the AlloyDB V1BETA API class Google::Cloud::AlloyDB::V1beta::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
- (::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
- value (::Boolean) — Whether the database flag accepts multiple values. If true, a comma-separated list of stringified values may be specified.
- (::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
- (::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
- 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.
- (::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::V1beta::SupportedDatabaseFlag::IntegerRestrictions
- (::Google::Cloud::AlloyDB::V1beta::SupportedDatabaseFlag::IntegerRestrictions) — Restriction on INTEGER type value.
#integer_restrictions=
def integer_restrictions=(value) -> ::Google::Cloud::AlloyDB::V1beta::SupportedDatabaseFlag::IntegerRestrictions
- value (::Google::Cloud::AlloyDB::V1beta::SupportedDatabaseFlag::IntegerRestrictions) — Restriction on INTEGER type value.
- (::Google::Cloud::AlloyDB::V1beta::SupportedDatabaseFlag::IntegerRestrictions) — Restriction on INTEGER type value.
#name
def name() -> ::String
-
(::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
-
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.
-
(::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
- (::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
- 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).
- (::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::V1beta::SupportedDatabaseFlag::StringRestrictions
- (::Google::Cloud::AlloyDB::V1beta::SupportedDatabaseFlag::StringRestrictions) — Restriction on STRING type value.
#string_restrictions=
def string_restrictions=(value) -> ::Google::Cloud::AlloyDB::V1beta::SupportedDatabaseFlag::StringRestrictions
- value (::Google::Cloud::AlloyDB::V1beta::SupportedDatabaseFlag::StringRestrictions) — Restriction on STRING type value.
- (::Google::Cloud::AlloyDB::V1beta::SupportedDatabaseFlag::StringRestrictions) — Restriction on STRING type value.
#supported_db_versions
def supported_db_versions() -> ::Array<::Google::Cloud::AlloyDB::V1beta::DatabaseVersion>
- (::Array<::Google::Cloud::AlloyDB::V1beta::DatabaseVersion>) — Major database engine versions for which this flag is supported.
#supported_db_versions=
def supported_db_versions=(value) -> ::Array<::Google::Cloud::AlloyDB::V1beta::DatabaseVersion>
- value (::Array<::Google::Cloud::AlloyDB::V1beta::DatabaseVersion>) — Major database engine versions for which this flag is supported.
- (::Array<::Google::Cloud::AlloyDB::V1beta::DatabaseVersion>) — Major database engine versions for which this flag is supported.
#value_type
def value_type() -> ::Google::Cloud::AlloyDB::V1beta::SupportedDatabaseFlag::ValueType
#value_type=
def value_type=(value) -> ::Google::Cloud::AlloyDB::V1beta::SupportedDatabaseFlag::ValueType