Show / Hide Table of Contents

Class Flag

A flag resource.

Inheritance
System.Object
Flag
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.SQLAdmin.v1beta4.Data
Assembly: Google.Apis.SQLAdmin.v1beta4.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
System.Collections.Generic.IList<System.Nullable<System.Int64>>

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
System.Collections.Generic.IList<System.String>

AppliesTo

The database version this flag applies to. Can be MYSQL_8_0, MYSQL_5_6, or MYSQL_5_7.

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

ETag

The ETag of the item.

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

InBeta

Whether or not the flag is considered in beta.

Declaration
[JsonProperty("inBeta")]
public virtual bool? InBeta { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Kind

This is always sql#flag.

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

MaxValue

For INTEGER flags, the maximum allowed value.

Declaration
[JsonProperty("maxValue")]
public virtual long? MaxValue { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

MinValue

For INTEGER flags, the minimum allowed value.

Declaration
[JsonProperty("minValue")]
public virtual long? MinValue { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

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
System.String

RequiresRestart

Indicates whether changing this flag will trigger a database restart.

Declaration
[JsonProperty("requiresRestart")]
public virtual bool? RequiresRestart { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Type

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

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

Implements

IDirectResponseSchema
In This Article
Back to top