#include <database_flags.h>
Database flags for Cloud SQL instances.
◆ DatabaseFlags() [1/2]
| google_sqladmin_api::DatabaseFlags::DatabaseFlags |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ DatabaseFlags() [2/2]
| google_sqladmin_api::DatabaseFlags::DatabaseFlags |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~DatabaseFlags()
| google_sqladmin_api::DatabaseFlags::~DatabaseFlags |
( |
| ) |
|
|
virtual |
◆ clear_name()
| void google_sqladmin_api::DatabaseFlags::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name' attribute.
◆ clear_value()
| void google_sqladmin_api::DatabaseFlags::clear_value |
( |
| ) |
|
|
inline |
Clears the 'value' attribute.
◆ get_name()
| const StringPiece google_sqladmin_api::DatabaseFlags::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name' attribute.
◆ get_value()
| const StringPiece google_sqladmin_api::DatabaseFlags::get_value |
( |
| ) |
const |
|
inline |
Get the value of the 'value' attribute.
◆ GetTypeName()
| const StringPiece google_sqladmin_api::DatabaseFlags::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_name()
| bool google_sqladmin_api::DatabaseFlags::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name' attribute was set.
- Returns
- true if the '
name' attribute was set.
◆ has_value()
| bool google_sqladmin_api::DatabaseFlags::has_value |
( |
| ) |
const |
|
inline |
Determine if the 'value' attribute was set.
- Returns
- true if the '
value' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_name()
| void google_sqladmin_api::DatabaseFlags::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name' attribute.
The name of the flag. These flags are passed at instance startup, so include both server options and system variables for MySQL. Flags should be specified with underscores, not hyphens. For more information, see Configuring Database Flags in the Cloud SQL documentation.
- Parameters
-
◆ set_value()
| void google_sqladmin_api::DatabaseFlags::set_value |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'value' attribute.
The value of the flag. Booleans should be set to on for true and off for false. This field must be omitted if the flag doesn't take a value.
- Parameters
-
The documentation for this class was generated from the following files: