#include <backup_run.h>
◆ BackupRun() [1/2]
| google_sqladmin_api::BackupRun::BackupRun |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ BackupRun() [2/2]
| google_sqladmin_api::BackupRun::BackupRun |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~BackupRun()
| google_sqladmin_api::BackupRun::~BackupRun |
( |
| ) |
|
|
virtual |
◆ clear_description()
| void google_sqladmin_api::BackupRun::clear_description |
( |
| ) |
|
|
inline |
Clears the 'description' attribute.
◆ clear_end_time()
| void google_sqladmin_api::BackupRun::clear_end_time |
( |
| ) |
|
|
inline |
Clears the 'endTime' attribute.
◆ clear_enqueued_time()
| void google_sqladmin_api::BackupRun::clear_enqueued_time |
( |
| ) |
|
|
inline |
Clears the 'enqueuedTime' attribute.
◆ clear_error()
| void google_sqladmin_api::BackupRun::clear_error |
( |
| ) |
|
|
inline |
Clears the 'error' attribute.
◆ clear_id()
| void google_sqladmin_api::BackupRun::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id' attribute.
◆ clear_instance()
| void google_sqladmin_api::BackupRun::clear_instance |
( |
| ) |
|
|
inline |
Clears the 'instance' attribute.
◆ clear_kind()
| void google_sqladmin_api::BackupRun::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ clear_location()
| void google_sqladmin_api::BackupRun::clear_location |
( |
| ) |
|
|
inline |
Clears the 'location' attribute.
◆ clear_self_link()
| void google_sqladmin_api::BackupRun::clear_self_link |
( |
| ) |
|
|
inline |
Clears the 'selfLink' attribute.
◆ clear_start_time()
| void google_sqladmin_api::BackupRun::clear_start_time |
( |
| ) |
|
|
inline |
Clears the 'startTime' attribute.
◆ clear_status()
| void google_sqladmin_api::BackupRun::clear_status |
( |
| ) |
|
|
inline |
Clears the 'status' attribute.
◆ clear_type()
| void google_sqladmin_api::BackupRun::clear_type |
( |
| ) |
|
|
inline |
Clears the 'type' attribute.
◆ clear_window_start_time()
| void google_sqladmin_api::BackupRun::clear_window_start_time |
( |
| ) |
|
|
inline |
Clears the 'windowStartTime' attribute.
◆ get_description()
| const StringPiece google_sqladmin_api::BackupRun::get_description |
( |
| ) |
const |
|
inline |
Get the value of the 'description' attribute.
◆ get_end_time()
| client::DateTime google_sqladmin_api::BackupRun::get_end_time |
( |
| ) |
const |
|
inline |
Get the value of the 'endTime' attribute.
◆ get_enqueued_time()
| client::DateTime google_sqladmin_api::BackupRun::get_enqueued_time |
( |
| ) |
const |
|
inline |
Get the value of the 'enqueuedTime' attribute.
◆ get_error()
| const OperationError google_sqladmin_api::BackupRun::get_error |
( |
| ) |
const |
Get a reference to the value of the 'error' attribute.
◆ get_id()
| int64 google_sqladmin_api::BackupRun::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id' attribute.
◆ get_instance()
| const StringPiece google_sqladmin_api::BackupRun::get_instance |
( |
| ) |
const |
|
inline |
Get the value of the 'instance' attribute.
◆ get_kind()
| const StringPiece google_sqladmin_api::BackupRun::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ get_location()
| const StringPiece google_sqladmin_api::BackupRun::get_location |
( |
| ) |
const |
|
inline |
Get the value of the 'location' attribute.
◆ get_self_link()
| const StringPiece google_sqladmin_api::BackupRun::get_self_link |
( |
| ) |
const |
|
inline |
Get the value of the 'selfLink' attribute.
◆ get_start_time()
| client::DateTime google_sqladmin_api::BackupRun::get_start_time |
( |
| ) |
const |
|
inline |
Get the value of the 'startTime' attribute.
◆ get_status()
| const StringPiece google_sqladmin_api::BackupRun::get_status |
( |
| ) |
const |
|
inline |
Get the value of the 'status' attribute.
◆ get_type()
| const StringPiece google_sqladmin_api::BackupRun::get_type |
( |
| ) |
const |
|
inline |
Get the value of the 'type' attribute.
◆ get_window_start_time()
| client::DateTime google_sqladmin_api::BackupRun::get_window_start_time |
( |
| ) |
const |
|
inline |
Get the value of the 'windowStartTime' attribute.
◆ GetTypeName()
| const StringPiece google_sqladmin_api::BackupRun::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_description()
| bool google_sqladmin_api::BackupRun::has_description |
( |
| ) |
const |
|
inline |
Determine if the 'description' attribute was set.
- Returns
- true if the '
description' attribute was set.
◆ has_end_time()
| bool google_sqladmin_api::BackupRun::has_end_time |
( |
| ) |
const |
|
inline |
Determine if the 'endTime' attribute was set.
- Returns
- true if the '
endTime' attribute was set.
◆ has_enqueued_time()
| bool google_sqladmin_api::BackupRun::has_enqueued_time |
( |
| ) |
const |
|
inline |
Determine if the 'enqueuedTime' attribute was set.
- Returns
- true if the '
enqueuedTime' attribute was set.
◆ has_error()
| bool google_sqladmin_api::BackupRun::has_error |
( |
| ) |
const |
|
inline |
Determine if the 'error' attribute was set.
- Returns
- true if the '
error' attribute was set.
◆ has_id()
| bool google_sqladmin_api::BackupRun::has_id |
( |
| ) |
const |
|
inline |
Determine if the 'id' attribute was set.
- Returns
- true if the '
id' attribute was set.
◆ has_instance()
| bool google_sqladmin_api::BackupRun::has_instance |
( |
| ) |
const |
|
inline |
Determine if the 'instance' attribute was set.
- Returns
- true if the '
instance' attribute was set.
◆ has_kind()
| bool google_sqladmin_api::BackupRun::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind' attribute was set.
- Returns
- true if the '
kind' attribute was set.
◆ has_location()
| bool google_sqladmin_api::BackupRun::has_location |
( |
| ) |
const |
|
inline |
Determine if the 'location' attribute was set.
- Returns
- true if the '
location' attribute was set.
◆ has_self_link()
| bool google_sqladmin_api::BackupRun::has_self_link |
( |
| ) |
const |
|
inline |
Determine if the 'selfLink' attribute was set.
- Returns
- true if the '
selfLink' attribute was set.
◆ has_start_time()
| bool google_sqladmin_api::BackupRun::has_start_time |
( |
| ) |
const |
|
inline |
Determine if the 'startTime' attribute was set.
- Returns
- true if the '
startTime' attribute was set.
◆ has_status()
| bool google_sqladmin_api::BackupRun::has_status |
( |
| ) |
const |
|
inline |
Determine if the 'status' attribute was set.
- Returns
- true if the '
status' attribute was set.
◆ has_type()
| bool google_sqladmin_api::BackupRun::has_type |
( |
| ) |
const |
|
inline |
Determine if the 'type' attribute was set.
- Returns
- true if the '
type' attribute was set.
◆ has_window_start_time()
| bool google_sqladmin_api::BackupRun::has_window_start_time |
( |
| ) |
const |
|
inline |
Determine if the 'windowStartTime' attribute was set.
- Returns
- true if the '
windowStartTime' attribute was set.
◆ mutable_error()
Gets a reference to a mutable value of the 'error' property.
Information about why the backup operation failed. This is only present if the run has the FAILED status.
- Returns
- The result can be modified to change the attribute value.
◆ New()
| BackupRun * google_sqladmin_api::BackupRun::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_description()
| void google_sqladmin_api::BackupRun::set_description |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'description' attribute.
The description of this run, only applicable to on-demand backups.
- Parameters
-
◆ set_end_time()
| void google_sqladmin_api::BackupRun::set_end_time |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'endTime' attribute.
The time the backup operation completed in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- Parameters
-
◆ set_enqueued_time()
| void google_sqladmin_api::BackupRun::set_enqueued_time |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'enqueuedTime' attribute.
The time the run was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- Parameters
-
◆ set_id()
| void google_sqladmin_api::BackupRun::set_id |
( |
int64 |
value | ) |
|
|
inline |
Change the 'id' attribute.
The identifier for this backup run. Unique only for a specific Cloud SQL instance.
- Parameters
-
◆ set_instance()
| void google_sqladmin_api::BackupRun::set_instance |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'instance' attribute.
Name of the database instance.
- Parameters
-
◆ set_kind()
| void google_sqladmin_api::BackupRun::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
This is always sql::backupRun.
- Parameters
-
◆ set_location()
| void google_sqladmin_api::BackupRun::set_location |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'location' attribute.
The location of the backup.
- Parameters
-
◆ set_self_link()
| void google_sqladmin_api::BackupRun::set_self_link |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'selfLink' attribute.
The URI of this resource.
- Parameters
-
◆ set_start_time()
| void google_sqladmin_api::BackupRun::set_start_time |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'startTime' attribute.
The time the backup operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- Parameters
-
◆ set_status()
| void google_sqladmin_api::BackupRun::set_status |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'status' attribute.
The status of this run.
- Parameters
-
◆ set_type()
| void google_sqladmin_api::BackupRun::set_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'type' attribute.
The type of this run; can be either "AUTOMATED" or "ON_DEMAND".
- Parameters
-
◆ set_window_start_time()
| void google_sqladmin_api::BackupRun::set_window_start_time |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'windowStartTime' attribute.
The start time of the backup window during which this the backup was attempted in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
- Parameters
-
The documentation for this class was generated from the following files:
- google/sqladmin_api/backup_run.h
- google/sqladmin_api/backup_run.cc