Class Topic (2.31.0)

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

Constructors

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

Parameters
Name Description
project_id std::string
location_id std::string
topic_id std::string

Functions

project_id() const

Returns
Type Description
std::string const &

location_id() const

Returns
Type Description
std::string const &

topic_id() const

Returns
Type Description
std::string const &

FullName() const

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

Returns
Type Description
std::string