AlloyDB v1 API - Class SupportedDatabaseFlag (1.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
1.16.0 (latest)
1.15.0
1.14.0
1.13.0
1.12.0
1.11.0
1.10.0
1.9.0
1.8.0
1.7.0
1.6.0
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
1.0.0
public sealed class SupportedDatabaseFlag : IMessage<SupportedDatabaseFlag>, IEquatable<SupportedDatabaseFlag>, IDeepCloneable<SupportedDatabaseFlag>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1 API class 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.
Inheritance
object >
SupportedDatabaseFlag
Namespace
Google.Cloud.AlloyDb.V1
Assembly
Google.Cloud.AlloyDb.V1.dll
Constructors
SupportedDatabaseFlag()
public SupportedDatabaseFlag()
SupportedDatabaseFlag(SupportedDatabaseFlag)
public SupportedDatabaseFlag(SupportedDatabaseFlag other)
Properties
AcceptsMultipleValues
public bool AcceptsMultipleValues { get; set; }
Whether the database flag accepts multiple values. If true,
a comma-separated list of stringified values may be specified.
Property Value
Type
Description
bool
FlagName
public string FlagName { get; set; }
The name of the database flag, e.g. "max_allowed_packets".
The is a possibly key for the Instance.database_flags map field.
Property Value
Type
Description
string
HasRecommendedStringValue
public bool HasRecommendedStringValue { get; }
Gets whether the "recommended_string_value" field is set
Property Value
Type
Description
bool
IntegerRestrictions
public SupportedDatabaseFlag.Types.IntegerRestrictions IntegerRestrictions { get; set; }
Restriction on INTEGER type value.
Name
public string Name { get; set; }
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.
Property Value
Type
Description
string
RecommendedIntegerValue
public long? RecommendedIntegerValue { get; set; }
The recommended value for an INTEGER flag.
Property Value
Type
Description
long
RecommendedStringValue
public string RecommendedStringValue { get; set; }
The recommended value for a STRING flag.
Property Value
Type
Description
string
RecommendedValueCase
public SupportedDatabaseFlag.RecommendedValueOneofCase RecommendedValueCase { get; }
RequiresDbRestart
public bool RequiresDbRestart { get; set; }
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).
Property Value
Type
Description
bool
RestrictionsCase
public SupportedDatabaseFlag.RestrictionsOneofCase RestrictionsCase { get; }
Scope
public SupportedDatabaseFlag.Types.Scope Scope { get; set; }
StringRestrictions
public SupportedDatabaseFlag.Types.StringRestrictions StringRestrictions { get; set; }
Restriction on STRING type value.
SupportedDatabaseFlagName
public SupportedDatabaseFlagName SupportedDatabaseFlagName { get; set; }
SupportedDbVersions
public RepeatedField<DatabaseVersion> SupportedDbVersions { get; }
Major database engine versions for which this flag is supported.
ValueType
public SupportedDatabaseFlag.Types.ValueType ValueType { get; set; }
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-11-23 UTC.
[null,null,["Last updated 2026-11-23 UTC."],[],[]]