AlloyDB v1alpha API - Class SupportedDatabaseFlag (1.0.0-alpha08)

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

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

Assembly

Google.Cloud.AlloyDb.V1Alpha.dll

Constructors

SupportedDatabaseFlag()

public SupportedDatabaseFlag()

SupportedDatabaseFlag(SupportedDatabaseFlag)

public SupportedDatabaseFlag(SupportedDatabaseFlag other)
Parameter
Name Description
other SupportedDatabaseFlag

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

IntegerRestrictions

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

Restriction on INTEGER type value.

Property Value
Type Description
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
Type Description
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
Type Description
bool

RestrictionsCase

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

StringRestrictions

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

Restriction on STRING type value.

Property Value
Type Description
SupportedDatabaseFlagTypesStringRestrictions

SupportedDatabaseFlagName

public SupportedDatabaseFlagName SupportedDatabaseFlagName { get; set; }

SupportedDatabaseFlagName-typed view over the Name resource name property.

Property Value
Type Description
SupportedDatabaseFlagName

SupportedDbVersions

public RepeatedField<DatabaseVersion> SupportedDbVersions { get; }

Major database engine versions for which this flag is supported.

Property Value
Type Description
RepeatedFieldDatabaseVersion

ValueType

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