AlloyDB v1beta API - Class SupportedDatabaseFlag (1.0.0-beta03)

public sealed class SupportedDatabaseFlag : IMessage<SupportedDatabaseFlag>, IEquatable<SupportedDatabaseFlag>, IDeepCloneable<SupportedDatabaseFlag>, IBufferMessage, IMessage

Reference documentation and code samples for the AlloyDB v1beta 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.V1Beta

Assembly

Google.Cloud.AlloyDb.V1Beta.dll

Constructors

SupportedDatabaseFlag()

public SupportedDatabaseFlag()

SupportedDatabaseFlag(SupportedDatabaseFlag)

public SupportedDatabaseFlag(SupportedDatabaseFlag other)
Parameter
NameDescription
otherSupportedDatabaseFlag

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
TypeDescription
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
TypeDescription
string

IntegerRestrictions

public SupportedDatabaseFlag.Types.IntegerRestrictions IntegerRestrictions { get; set; }

Restriction on INTEGER type value.

Property Value
TypeDescription
SupportedDatabaseFlagTypesIntegerRestrictions

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
TypeDescription
string

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
TypeDescription
bool

RestrictionsCase

public SupportedDatabaseFlag.RestrictionsOneofCase RestrictionsCase { get; }
Property Value
TypeDescription
SupportedDatabaseFlagRestrictionsOneofCase

StringRestrictions

public SupportedDatabaseFlag.Types.StringRestrictions StringRestrictions { get; set; }

Restriction on STRING type value.

Property Value
TypeDescription
SupportedDatabaseFlagTypesStringRestrictions

SupportedDatabaseFlagName

public SupportedDatabaseFlagName SupportedDatabaseFlagName { get; set; }

SupportedDatabaseFlagName-typed view over the Name resource name property.

Property Value
TypeDescription
SupportedDatabaseFlagName

SupportedDbVersions

public RepeatedField<DatabaseVersion> SupportedDbVersions { get; }

Major database engine versions for which this flag is supported.

Property Value
TypeDescription
RepeatedFieldDatabaseVersion

ValueType

public SupportedDatabaseFlag.Types.ValueType ValueType { get; set; }
Property Value
TypeDescription
SupportedDatabaseFlagTypesValueType