Struct google_sqladmin1_beta4::Flag
[−]
[src]
pub struct Flag { pub kind: Option<String>, pub name: Option<String>, pub allowed_string_values: Option<Vec<String>>, pub applies_to: Option<Vec<String>>, pub max_value: Option<String>, pub requires_restart: Option<bool>, pub min_value: Option<String>, pub type_: Option<String>, }
A Google Cloud SQL service flag resource.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- list flags (none)
Fields
kind: Option<String>
This is always sql#flag.
name: Option<String>
This is the name of the flag. Flag names always use underscores, not hyphens, e.g. max_allowed_packet
allowed_string_values: Option<Vec<String>>
For STRING flags, a list of strings that the value can be set to.
applies_to: Option<Vec<String>>
The database version this flag applies to. Can be MYSQL_5_5, MYSQL_5_6, or MYSQL_5_7. MYSQL_5_7 is applicable only to Second Generation instances.
max_value: Option<String>
For INTEGER flags, the maximum allowed value.
requires_restart: Option<bool>
Indicates whether changing this flag will trigger a database restart. Only applicable to Second Generation instances.
min_value: Option<String>
For INTEGER flags, the minimum allowed value.
type_: Option<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.
Trait Implementations
impl Debug for Flag
[src]
impl Clone for Flag
[src]
fn clone(&self) -> Flag
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more