Google Cloud Spanner C++ Client 2.13.0
A C++ Client Library for Google Cloud Spanner
|
This class identifies a Cloud Spanner Backup. More...
#include <google/cloud/spanner/backup.h>
Public Member Functions | |
Backup (Instance instance, std::string backup_id) | |
Instance const & | instance () const |
Returns the Instance containing this backup. More... | |
std::string const & | backup_id () const |
Returns the Backup ID. More... | |
std::string | FullName () const |
Returns the fully qualified backup name as a string of the form: "projects/<project-id>/instances/<instance-id>/backups/<backup-id>". More... | |
Copy and move | |
Backup (Backup const &)=default | |
Backup & | operator= (Backup const &)=default |
Backup (Backup &&)=default | |
Backup & | operator= (Backup &&)=default |
Friends | |
std::ostream & | operator<< (std::ostream &, Backup const &) |
Output the FullName() format. More... | |
Equality operators | |
bool | operator== (Backup const &a, Backup const &b) |
bool | operator!= (Backup const &a, Backup const &b) |
This class identifies a Cloud Spanner Backup.
A Cloud Spanner backup is identified by an Instance
and a backup_id
.
google::cloud::spanner::Backup::Backup | ( | Instance | instance, |
std::string | backup_id | ||
) |
|
default |
|
default |
|
inline |
Returns the Backup ID.
std::string google::cloud::spanner::Backup::FullName | ( | ) | const |
Returns the fully qualified backup name as a string of the form: "projects/<project-id>/instances/<instance-id>/backups/<backup-id>".
|
inline |
Returns the Instance
containing this backup.
|
friend |
Output the FullName()
format.