Google Cloud Spanner C++ Client
1.32.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) | |
Copy and move | |
Backup (Backup const &)=default | |
Returns the Instance containing this backup. More... | |
Backup & | operator= (Backup const &)=default |
Returns the Instance containing this backup. More... | |
Backup (Backup &&)=default | |
Returns the Instance containing this backup. More... | |
Backup & | operator= (Backup &&)=default |
Returns the Instance containing this backup. More... | |
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... | |
Equality operators | |
bool | operator== (Backup const &a, Backup const &b) |
Output the FullName() format. More... | |
bool | operator!= (Backup const &a, Backup const &b) |
Output the FullName() format. More... | |
std::ostream & | operator<< (std::ostream &, Backup const &) |
Output the FullName() format. More... | |
This class identifies a Cloud Spanner Backup.
A Cloud Spanner backup is identified by an Instance
and a backup_id
.
google::cloud::spanner::v1::Backup::Backup | ( | Instance | instance, |
std::string | backup_id | ||
) |
|
default |
Returns the Instance
containing this backup.
|
default |
Returns the Instance
containing this backup.
|
inline |
std::string google::cloud::spanner::v1::Backup::FullName | ( | ) | const |
|
inline |
Returns the Instance
containing this backup.
Returns the Instance
containing this backup.
Output the FullName()
format.
|
friend |
Output the FullName()
format.
Output the FullName()
format.