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