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 topic. More...
#include <google/cloud/pubsub/topic.h>
Public Member Functions | |
Topic (std::string project_id, std::string topic_id) | |
std::string const & | project_id () const |
Returns the Project ID. More... | |
std::string const & | topic_id () const |
Returns the Topic ID. More... | |
std::string | FullName () const |
Returns the fully qualified topic name as a string of the form: "projects/<project-id>/topics/<topic-id>". More... | |
Copy and move | |
Topic (Topic const &)=default | |
Topic & | operator= (Topic const &)=default |
Topic (Topic &&)=default | |
Topic & | operator= (Topic &&)=default |
Friends | |
std::ostream & | operator<< (std::ostream &os, Topic const &rhs) |
Output the FullName() format. More... | |
Equality operators | |
bool | operator== (Topic const &a, Topic const &b) |
bool | operator!= (Topic const &a, Topic const &b) |
Objects of this class identify a Cloud Pub/Sub topic.
|
inline |
|
default |
|
default |
std::string google::cloud::pubsub::Topic::FullName | ( | ) | const |
Returns the fully qualified topic name as a string of the form: "projects/<project-id>/topics/<topic-id>".
|
inline |
Returns the Project ID.
|
inline |
Returns the Topic ID.
|
friend |
Output the FullName()
format.