Google Cloud Spanner C++ Client 2.13.0
A C++ Client Library for Google Cloud Spanner
|
Wrap the arguments for CreateBackup()
.
More...
#include <google/cloud/spanner/database_admin_connection.h>
Public Attributes | |
Database | database |
The name of the database. More... | |
std::string | backup_id |
std::chrono::system_clock::time_point | expire_time |
Timestamp | expire_timestamp |
absl::optional< Timestamp > | version_time |
The backup will contain an externally consistent copy of the database at version_time . More... | |
EncryptionConfig | encryption_config |
How to encrypt the backup. More... | |
Wrap the arguments for CreateBackup()
.
std::string google::cloud::spanner::DatabaseAdminConnection::CreateBackupParams::backup_id |
Database google::cloud::spanner::DatabaseAdminConnection::CreateBackupParams::database |
The name of the database.
EncryptionConfig google::cloud::spanner::DatabaseAdminConnection::CreateBackupParams::encryption_config |
How to encrypt the backup.
std::chrono::system_clock::time_point google::cloud::spanner::DatabaseAdminConnection::CreateBackupParams::expire_time |
DatabaseAdminClient::CreateBackup()
initializes expire_time
, but DatabaseAdminConnection::CreateBackup()
now ignores it. Use expire_timestamp
instead. Timestamp google::cloud::spanner::DatabaseAdminConnection::CreateBackupParams::expire_timestamp |
absl::optional<Timestamp> google::cloud::spanner::DatabaseAdminConnection::CreateBackupParams::version_time |
The backup will contain an externally consistent copy of the database at version_time
.
If version_time
is not specified, the system will set version_time
to the create_time
of the backup.