Google Cloud Spanner C++ Client  1.32.0
A C++ Client Library for Google Cloud Spanner
Public Attributes | List of all members
google::cloud::spanner::v1::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().

Definition at line 177 of file database_admin_connection.h.

Member Data Documentation

◆ backup_id

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

Definition at line 180 of file database_admin_connection.h.

◆ database

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

The name of the database.

Definition at line 179 of file database_admin_connection.h.

◆ encryption_config

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

How to encrypt the backup.

Definition at line 191 of file database_admin_connection.h.

◆ expire_time

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

Use expire_timestamp instead.

Definition at line 184 of file database_admin_connection.h.

◆ expire_timestamp

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

Definition at line 185 of file database_admin_connection.h.

◆ version_time

absl::optional<Timestamp> google::cloud::spanner::v1::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.

Definition at line 189 of file database_admin_connection.h.