#include <failover_context.h>
Database instance failover context.
◆ FailoverContext() [1/2]
| google_sqladmin_api::FailoverContext::FailoverContext |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ FailoverContext() [2/2]
| google_sqladmin_api::FailoverContext::FailoverContext |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~FailoverContext()
| google_sqladmin_api::FailoverContext::~FailoverContext |
( |
| ) |
|
|
virtual |
◆ clear_kind()
| void google_sqladmin_api::FailoverContext::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ clear_settings_version()
| void google_sqladmin_api::FailoverContext::clear_settings_version |
( |
| ) |
|
|
inline |
Clears the 'settingsVersion' attribute.
◆ get_kind()
| const StringPiece google_sqladmin_api::FailoverContext::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ get_settings_version()
| int64 google_sqladmin_api::FailoverContext::get_settings_version |
( |
| ) |
const |
|
inline |
Get the value of the 'settingsVersion' attribute.
◆ GetTypeName()
| const StringPiece google_sqladmin_api::FailoverContext::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_kind()
| bool google_sqladmin_api::FailoverContext::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind' attribute was set.
- Returns
- true if the '
kind' attribute was set.
◆ has_settings_version()
| bool google_sqladmin_api::FailoverContext::has_settings_version |
( |
| ) |
const |
|
inline |
Determine if the 'settingsVersion' attribute was set.
- Returns
- true if the '
settingsVersion' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_kind()
| void google_sqladmin_api::FailoverContext::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
This is always sql::failoverContext.
- Parameters
-
◆ set_settings_version()
| void google_sqladmin_api::FailoverContext::set_settings_version |
( |
int64 |
value | ) |
|
|
inline |
Change the 'settingsVersion' attribute.
The current settings version of this instance. Request will be rejected if this version doesn't match the current settings version.
- Parameters
-
The documentation for this class was generated from the following files: