Class Snapshot (2.21.0)

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

Constructors

Snapshot(Snapshot const &)

Copy and move

Parameter
NameDescription
Snapshot const &

Snapshot(Snapshot &&)

Copy and move

Parameter
NameDescription
Snapshot &&

Snapshot(std::string, std::string)

Parameters
NameDescription
project_id std::string
snapshot_id std::string

Operators

operator=(Snapshot const &)

Copy and move

Parameter
NameDescription
Snapshot const &
Returns
TypeDescription
Snapshot &

operator=(Snapshot &&)

Copy and move

Parameter
NameDescription
Snapshot &&
Returns
TypeDescription
Snapshot &

Functions

project_id() const

Returns the Project ID.

Returns
TypeDescription
std::string const &

snapshot_id() const

Returns the Snapshot ID.

Returns
TypeDescription
std::string const &

FullName() const

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

Returns
TypeDescription
std::string