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.
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).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-09 UTC."],[[["The `SupportedDatabaseFlag` class in the AlloyDB v1beta API provides static information about a database flag, including its type and allowed values, which are defined on the server side."],["Instances of the `SupportedDatabaseFlag` class cannot be directly modified by callers; instead, callers should modify the `Instance.database_flags` field to set database flags on a specific Instance."],["The class includes properties like `AcceptsMultipleValues`, `FlagName`, `ValueType`, and `RequiresDbRestart`, which detail whether a flag can take multiple values, its name, its value type, and if it necessitates a database restart upon setting or updating."],["`SupportedDatabaseFlag` can handle different value restrictions through its `IntegerRestrictions` and `StringRestrictions` properties, which correspond to the restrictions for each type."],["The class offers constructors to create a new `SupportedDatabaseFlag` object, either empty or by cloning an existing instance."]]],[]]