|
Google Cloud Spanner C++ Client
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) | |
Constructs a Backup object identified by the given backup_id and instance. 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... | |
| Instance const & | instance () const |
Returns the Instance containing this backup. More... | |
| std::string const & | backup_id () const |
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 &os, Backup const &bn) |
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::v1::Backup::Backup | ( | Instance | instance, |
| std::string | backup_id | ||
| ) |
|
default |
|
default |
|
inline |
| std::string google::cloud::spanner::v1::Backup::FullName | ( | ) | const |
|
inline |
|
friend |
Output the FullName() format.
1.8.15