Class Topic (2.19.0)

Objects of this class identify a Cloud Pub/Sub Lite topic.

Constructors

Topic(std::string, std::string, std::string)

Parameters
NameDescription
project_id std::string
location_id std::string
topic_id std::string

Functions

project_id() const

Returns
TypeDescription
std::string const &

location_id() const

Returns
TypeDescription
std::string const &

topic_id() const

Returns
TypeDescription
std::string const &

FullName() const

Returns the fully qualified topic name as a string of the form: "projects/

Returns
TypeDescription
std::string