Show / Hide Table of Contents

Class Flag

A flag resource.

Inheritance
object
Flag
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.SQLAdmin.v1.Data
Assembly: Google.Apis.SQLAdmin.v1.dll
Syntax
public class Flag : IDirectResponseSchema

Properties

AllowedIntValues

Use this field if only certain integers are accepted. Can be combined with min_value and max_value to add additional values.

Declaration
[JsonProperty("allowedIntValues")]
public virtual IList<long?> AllowedIntValues { get; set; }
Property Value
Type Description
IList<long?>

AllowedStringValues

For STRING flags, a list of strings that the value can be set to.

Declaration
[JsonProperty("allowedStringValues")]
public virtual IList<string> AllowedStringValues { get; set; }
Property Value
Type Description
IList<string>

AppliesTo

The database version this flag applies to. Can be MySQL instances: MYSQL_8_0, MYSQL_8_0_18, MYSQL_8_0_26, MYSQL_5_7, or MYSQL_5_6. PostgreSQL instances: POSTGRES_9_6, POSTGRES_10, POSTGRES_11 or POSTGRES_12. SQL Server instances: SQLSERVER_2017_STANDARD, SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, SQLSERVER_2017_WEB, SQLSERVER_2019_STANDARD, SQLSERVER_2019_ENTERPRISE, SQLSERVER_2019_EXPRESS, or SQLSERVER_2019_WEB. See the complete list.

Declaration
[JsonProperty("appliesTo")]
public virtual IList<string> AppliesTo { get; set; }
Property Value
Type Description
IList<string>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

FlagScope

Scope of flag.

Declaration
[JsonProperty("flagScope")]
public virtual string FlagScope { get; set; }
Property Value
Type Description
string

InBeta

Whether or not the flag is considered in beta.

Declaration
[JsonProperty("inBeta")]
public virtual bool? InBeta { get; set; }
Property Value
Type Description
bool?

Kind

This is always sql#flag.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
string

MaxValue

For INTEGER flags, the maximum allowed value.

Declaration
[JsonProperty("maxValue")]
public virtual long? MaxValue { get; set; }
Property Value
Type Description
long?

MinValue

For INTEGER flags, the minimum allowed value.

Declaration
[JsonProperty("minValue")]
public virtual long? MinValue { get; set; }
Property Value
Type Description
long?

Name

This is the name of the flag. Flag names always use underscores, not hyphens, for example: max_allowed_packet

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

RecommendedIntValue

Recommended int value in integer format for UI display.

Declaration
[JsonProperty("recommendedIntValue")]
public virtual long? RecommendedIntValue { get; set; }
Property Value
Type Description
long?

RecommendedStringValue

Recommended string value in string format for UI display.

Declaration
[JsonProperty("recommendedStringValue")]
public virtual string RecommendedStringValue { get; set; }
Property Value
Type Description
string

RequiresRestart

Indicates whether changing this flag will trigger a database restart. Only applicable to Second Generation instances.

Declaration
[JsonProperty("requiresRestart")]
public virtual bool? RequiresRestart { get; set; }
Property Value
Type Description
bool?

Type

The type of the flag. Flags are typed to being BOOLEAN, STRING, INTEGER or NONE. NONE is used for flags that do not take a value, such as skip_grant_tables.

Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX