Class Topic (2.33.0)

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

Constructors

Topic(Topic const &)

Copy and move

Parameter
Name Description
Topic const &

Topic(Topic &&)

Copy and move

Parameter
Name Description
Topic &&

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

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

Operators

operator=(Topic const &)

Copy and move

Parameter
Name Description
Topic const &
Returns
Type Description
Topic &

operator=(Topic &&)

Copy and move

Parameter
Name Description
Topic &&
Returns
Type Description
Topic &

Functions

project_id() const

Returns the Project ID.

Returns
Type Description
std::string const &

topic_id() const

Returns the Topic ID.

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