Google Cloud Spanner C++ Client 2.13.0
A C++ Client Library for Google Cloud Spanner
Loading...
Searching...
No Matches
Public Attributes | List of all members
google::cloud::spanner::DatabaseAdminConnection::CreateBackupParams Struct Reference

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< Timestampversion_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...
 

Detailed Description

Wrap the arguments for CreateBackup().

Member Data Documentation

◆ backup_id

std::string google::cloud::spanner::DatabaseAdminConnection::CreateBackupParams::backup_id

◆ database

Database google::cloud::spanner::DatabaseAdminConnection::CreateBackupParams::database

The name of the database.

◆ encryption_config

EncryptionConfig google::cloud::spanner::DatabaseAdminConnection::CreateBackupParams::encryption_config

How to encrypt the backup.

◆ expire_time

std::chrono::system_clock::time_point google::cloud::spanner::DatabaseAdminConnection::CreateBackupParams::expire_time
Deprecated:
DatabaseAdminClient::CreateBackup() initializes expire_time, but DatabaseAdminConnection::CreateBackup() now ignores it. Use expire_timestamp instead.

◆ expire_timestamp

Timestamp google::cloud::spanner::DatabaseAdminConnection::CreateBackupParams::expire_timestamp

◆ version_time

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.