22 Backup::Backup(
Instance instance, std::string backup_id)
23 : instance_(std::move(instance)), backup_id_(std::move(backup_id)) {}
30 return a.instance_ == b.instance_ && a.backup_id_ == b.backup_id_;
This class identifies a Cloud Spanner Backup.
bool operator!=(Backup const &a, Backup const &b)
This class identifies a Cloud Spanner Instance.
bool operator==(Backup const &a, Backup const &b)
Contains all the Cloud Spanner C++ client types and functions.
#define SPANNER_CLIENT_NS
Instance const & instance() const
Returns the Instance containing this backup.
std::string FullName() const
Returns the fully qualified instance name as a string of the form: "projects/<project-id>/instances/<...
std::string FullName() const
Returns the fully qualified backup name as a string of the form: "projects/<project-id>/instances/<in...
std::ostream & operator<<(std::ostream &os, Backup const &bn)