Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



Flags

The Flags resource represents a MySQL flag that can be configured for a Google Cloud SQL instance. The list method lists all possible MySQL flags you can use. To see flags set for a particular Cloud SQL instance, uses the Instances resource get method. For more information about MySQL flags, see Configuring MySQL Flags .

For a list of methods for this resource, see the end of this page.

Resource representations

A Google Cloud SQL service flag resource.

{
  "kind": "sql#flag",
  "name": string,
  "type": string,
  "appliesTo": [
    string
  ],
  "allowedStringValues": [
    string
  ],
  "minValue": long,
  "maxValue": long
}
Property name Value Description Notes
allowedStringValues[] list For STRING flags, a list of strings that the value can be set to.
appliesTo[] list The database version this flag applies to. Currently this can only be [ MYSQL_5_5 ].
kind string This is always sql#flag .
maxValue long For INTEGER flags, the maximum allowed value.
minValue long For INTEGER flags, the minimum allowed value.
name string This is the name of the flag. Flag names always use underscores, not hyphens, e.g. max_allowed_packet
type string 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 .

Methods

Available methods for Flags resources are:

list
Lists all database flags that can be set for Google Cloud SQL instances.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.