#include <flag.h>
◆ Flag() [1/2]
| google_sqladmin_api::Flag::Flag |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ Flag() [2/2]
| google_sqladmin_api::Flag::Flag |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~Flag()
| google_sqladmin_api::Flag::~Flag |
( |
| ) |
|
|
virtual |
◆ clear_allowed_string_values()
| void google_sqladmin_api::Flag::clear_allowed_string_values |
( |
| ) |
|
|
inline |
Clears the 'allowedStringValues' attribute.
◆ clear_applies_to()
| void google_sqladmin_api::Flag::clear_applies_to |
( |
| ) |
|
|
inline |
Clears the 'appliesTo' attribute.
◆ clear_in_beta()
| void google_sqladmin_api::Flag::clear_in_beta |
( |
| ) |
|
|
inline |
Clears the 'inBeta' attribute.
◆ clear_kind()
| void google_sqladmin_api::Flag::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ clear_max_value()
| void google_sqladmin_api::Flag::clear_max_value |
( |
| ) |
|
|
inline |
Clears the 'maxValue' attribute.
◆ clear_min_value()
| void google_sqladmin_api::Flag::clear_min_value |
( |
| ) |
|
|
inline |
Clears the 'minValue' attribute.
◆ clear_name()
| void google_sqladmin_api::Flag::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name' attribute.
◆ clear_requires_restart()
| void google_sqladmin_api::Flag::clear_requires_restart |
( |
| ) |
|
|
inline |
Clears the 'requiresRestart' attribute.
◆ clear_type()
| void google_sqladmin_api::Flag::clear_type |
( |
| ) |
|
|
inline |
Clears the 'type' attribute.
◆ get_allowed_string_values()
| const client::JsonCppArray<string > google_sqladmin_api::Flag::get_allowed_string_values |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'allowedStringValues' attribute.
◆ get_applies_to()
| const client::JsonCppArray<string > google_sqladmin_api::Flag::get_applies_to |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'appliesTo' attribute.
◆ get_in_beta()
| bool google_sqladmin_api::Flag::get_in_beta |
( |
| ) |
const |
|
inline |
Get the value of the 'inBeta' attribute.
◆ get_kind()
| const StringPiece google_sqladmin_api::Flag::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ get_max_value()
| int64 google_sqladmin_api::Flag::get_max_value |
( |
| ) |
const |
|
inline |
Get the value of the 'maxValue' attribute.
◆ get_min_value()
| int64 google_sqladmin_api::Flag::get_min_value |
( |
| ) |
const |
|
inline |
Get the value of the 'minValue' attribute.
◆ get_name()
| const StringPiece google_sqladmin_api::Flag::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name' attribute.
◆ get_requires_restart()
| bool google_sqladmin_api::Flag::get_requires_restart |
( |
| ) |
const |
|
inline |
Get the value of the 'requiresRestart' attribute.
◆ get_type()
| const StringPiece google_sqladmin_api::Flag::get_type |
( |
| ) |
const |
|
inline |
Get the value of the 'type' attribute.
◆ GetTypeName()
| const StringPiece google_sqladmin_api::Flag::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_allowed_string_values()
| bool google_sqladmin_api::Flag::has_allowed_string_values |
( |
| ) |
const |
|
inline |
Determine if the 'allowedStringValues' attribute was set.
- Returns
- true if the '
allowedStringValues' attribute was set.
◆ has_applies_to()
| bool google_sqladmin_api::Flag::has_applies_to |
( |
| ) |
const |
|
inline |
Determine if the 'appliesTo' attribute was set.
- Returns
- true if the '
appliesTo' attribute was set.
◆ has_in_beta()
| bool google_sqladmin_api::Flag::has_in_beta |
( |
| ) |
const |
|
inline |
Determine if the 'inBeta' attribute was set.
- Returns
- true if the '
inBeta' attribute was set.
◆ has_kind()
| bool google_sqladmin_api::Flag::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind' attribute was set.
- Returns
- true if the '
kind' attribute was set.
◆ has_max_value()
| bool google_sqladmin_api::Flag::has_max_value |
( |
| ) |
const |
|
inline |
Determine if the 'maxValue' attribute was set.
- Returns
- true if the '
maxValue' attribute was set.
◆ has_min_value()
| bool google_sqladmin_api::Flag::has_min_value |
( |
| ) |
const |
|
inline |
Determine if the 'minValue' attribute was set.
- Returns
- true if the '
minValue' attribute was set.
◆ has_name()
| bool google_sqladmin_api::Flag::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name' attribute was set.
- Returns
- true if the '
name' attribute was set.
◆ has_requires_restart()
| bool google_sqladmin_api::Flag::has_requires_restart |
( |
| ) |
const |
|
inline |
Determine if the 'requiresRestart' attribute was set.
- Returns
- true if the '
requiresRestart' attribute was set.
◆ has_type()
| bool google_sqladmin_api::Flag::has_type |
( |
| ) |
const |
|
inline |
Determine if the 'type' attribute was set.
- Returns
- true if the '
type' attribute was set.
◆ mutable_allowedStringValues()
| client::JsonCppArray<string > google_sqladmin_api::Flag::mutable_allowedStringValues |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'allowedStringValues' property.
For STRING flags, a list of strings that the value can be set to.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_appliesTo()
| client::JsonCppArray<string > google_sqladmin_api::Flag::mutable_appliesTo |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'appliesTo' property.
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.
- Returns
- The result can be modified to change the attribute value.
◆ New()
| Flag * google_sqladmin_api::Flag::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_in_beta()
| void google_sqladmin_api::Flag::set_in_beta |
( |
bool |
value | ) |
|
|
inline |
Change the 'inBeta' attribute.
True if the flag is only released in Beta.
- Parameters
-
◆ set_kind()
| void google_sqladmin_api::Flag::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
This is always sql::flag.
- Parameters
-
◆ set_max_value()
| void google_sqladmin_api::Flag::set_max_value |
( |
int64 |
value | ) |
|
|
inline |
Change the 'maxValue' attribute.
For INTEGER flags, the maximum allowed value.
- Parameters
-
◆ set_min_value()
| void google_sqladmin_api::Flag::set_min_value |
( |
int64 |
value | ) |
|
|
inline |
Change the 'minValue' attribute.
For INTEGER flags, the minimum allowed value.
- Parameters
-
◆ set_name()
| void google_sqladmin_api::Flag::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name' attribute.
This is the name of the flag. Flag names always use underscores, not hyphens, e.g. max_allowed_packet.
- Parameters
-
◆ set_requires_restart()
| void google_sqladmin_api::Flag::set_requires_restart |
( |
bool |
value | ) |
|
|
inline |
Change the 'requiresRestart' attribute.
Indicates whether changing this flag will trigger a database restart. Only applicable to Second Generation instances.
- Parameters
-
◆ set_type()
| void google_sqladmin_api::Flag::set_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'type' attribute.
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.
- Parameters
-
The documentation for this class was generated from the following files:
- google/sqladmin_api/flag.h
- google/sqladmin_api/flag.cc