Class Schema (2.22.0)

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

Constructors

Schema(Schema const &)

Copy and move

Parameter
NameDescription
Schema const &

Schema(Schema &&)

Copy and move

Parameter
NameDescription
Schema &&

Schema(std::string, std::string)

Parameters
NameDescription
project_id std::string
schema_id std::string

Operators

operator=(Schema const &)

Copy and move

Parameter
NameDescription
Schema const &
Returns
TypeDescription
Schema &

operator=(Schema &&)

Copy and move

Parameter
NameDescription
Schema &&
Returns
TypeDescription
Schema &

Functions

project_id() const

Returns the Project ID.

Returns
TypeDescription
std::string const &

schema_id() const

Returns the Schema ID.

Returns
TypeDescription
std::string const &

FullName() const

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

Returns
TypeDescription
std::string