#include <restore_backup_context.h>
Database instance restore from backup context.
◆ RestoreBackupContext() [1/2]
| google_sqladmin_api::RestoreBackupContext::RestoreBackupContext |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ RestoreBackupContext() [2/2]
| google_sqladmin_api::RestoreBackupContext::RestoreBackupContext |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~RestoreBackupContext()
| google_sqladmin_api::RestoreBackupContext::~RestoreBackupContext |
( |
| ) |
|
|
virtual |
◆ clear_backup_run_id()
| void google_sqladmin_api::RestoreBackupContext::clear_backup_run_id |
( |
| ) |
|
|
inline |
Clears the 'backupRunId' attribute.
◆ clear_instance_id()
| void google_sqladmin_api::RestoreBackupContext::clear_instance_id |
( |
| ) |
|
|
inline |
Clears the 'instanceId' attribute.
◆ clear_kind()
| void google_sqladmin_api::RestoreBackupContext::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ clear_project()
| void google_sqladmin_api::RestoreBackupContext::clear_project |
( |
| ) |
|
|
inline |
Clears the 'project' attribute.
◆ get_backup_run_id()
| int64 google_sqladmin_api::RestoreBackupContext::get_backup_run_id |
( |
| ) |
const |
|
inline |
Get the value of the 'backupRunId' attribute.
◆ get_instance_id()
| const StringPiece google_sqladmin_api::RestoreBackupContext::get_instance_id |
( |
| ) |
const |
|
inline |
Get the value of the 'instanceId' attribute.
◆ get_kind()
| const StringPiece google_sqladmin_api::RestoreBackupContext::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ get_project()
| const StringPiece google_sqladmin_api::RestoreBackupContext::get_project |
( |
| ) |
const |
|
inline |
Get the value of the 'project' attribute.
◆ GetTypeName()
| const StringPiece google_sqladmin_api::RestoreBackupContext::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_backup_run_id()
| bool google_sqladmin_api::RestoreBackupContext::has_backup_run_id |
( |
| ) |
const |
|
inline |
Determine if the 'backupRunId' attribute was set.
- Returns
- true if the '
backupRunId' attribute was set.
◆ has_instance_id()
| bool google_sqladmin_api::RestoreBackupContext::has_instance_id |
( |
| ) |
const |
|
inline |
Determine if the 'instanceId' attribute was set.
- Returns
- true if the '
instanceId' attribute was set.
◆ has_kind()
| bool google_sqladmin_api::RestoreBackupContext::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind' attribute was set.
- Returns
- true if the '
kind' attribute was set.
◆ has_project()
| bool google_sqladmin_api::RestoreBackupContext::has_project |
( |
| ) |
const |
|
inline |
Determine if the 'project' attribute was set.
- Returns
- true if the '
project' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_backup_run_id()
| void google_sqladmin_api::RestoreBackupContext::set_backup_run_id |
( |
int64 |
value | ) |
|
|
inline |
Change the 'backupRunId' attribute.
The ID of the backup run to restore from.
- Parameters
-
◆ set_instance_id()
| void google_sqladmin_api::RestoreBackupContext::set_instance_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'instanceId' attribute.
The ID of the instance that the backup was taken from.
- Parameters
-
◆ set_kind()
| void google_sqladmin_api::RestoreBackupContext::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
This is always sql::restoreBackupContext.
- Parameters
-
◆ set_project()
| void google_sqladmin_api::RestoreBackupContext::set_project |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'project' attribute.
The full project ID of the source instance.
- Parameters
-
The documentation for this class was generated from the following files: