Google Cloud Pub/Sub C++ Client 2.13.0
A C++ Client Library for Google Cloud Pub/Sub
|
Objects of this class identify a Cloud Pub/Sub snapshot. More...
#include <google/cloud/pubsub/snapshot.h>
Public Member Functions | |
Snapshot (std::string project_id, std::string snapshot_id) | |
std::string const & | project_id () const |
Returns the Project ID. More... | |
std::string const & | snapshot_id () const |
Returns the Snapshot ID. More... | |
std::string | FullName () const |
Returns the fully qualified snapshot name as a string of the form: "projects/<project-id>/snapshots/<snapshot-id>". More... | |
Copy and move | |
Snapshot (Snapshot const &)=default | |
Snapshot & | operator= (Snapshot const &)=default |
Snapshot (Snapshot &&)=default | |
Snapshot & | operator= (Snapshot &&)=default |
Friends | |
std::ostream & | operator<< (std::ostream &os, Snapshot const &rhs) |
Output the FullName() format. More... | |
Equality operators | |
bool | operator== (Snapshot const &a, Snapshot const &b) |
bool | operator!= (Snapshot const &a, Snapshot const &b) |
Objects of this class identify a Cloud Pub/Sub snapshot.
|
inline |
|
default |
|
default |
std::string google::cloud::pubsub::Snapshot::FullName | ( | ) | const |
Returns the fully qualified snapshot name as a string of the form: "projects/<project-id>/snapshots/<snapshot-id>".
|
inline |
Returns the Project ID.
|
inline |
Returns the Snapshot ID.
|
friend |
Output the FullName()
format.