Class Schema (2.13.0)

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

Constructors

Schema(Schema const &)

Copy and move

Parameter
Name Description
Schema const &

Schema(Schema &&)

Copy and move

Parameter
Name Description
Schema &&

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

Parameters
Name Description
project_id std::string
schema_id std::string

Operators

operator=(Schema const &)

Copy and move

Parameter
Name Description
Schema const &
Returns
Type Description
Schema &

operator=(Schema &&)

Copy and move

Parameter
Name Description
Schema &&
Returns
Type Description
Schema &

Functions

project_id() const

Returns the Project ID.

Returns
Type Description
std::string const &

schema_id() const

Returns the Schema ID.

Returns
Type Description
std::string const &

FullName() const

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

Returns
Type Description
std::string