Class Snapshot (2.32.0)

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

Constructors

Snapshot(Snapshot const &)

Copy and move

Parameter
Name Description
Snapshot const &

Snapshot(Snapshot &&)

Copy and move

Parameter
Name Description
Snapshot &&

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

Parameters
Name Description
project_id std::string
snapshot_id std::string

Operators

operator=(Snapshot const &)

Copy and move

Parameter
Name Description
Snapshot const &
Returns
Type Description
Snapshot &

operator=(Snapshot &&)

Copy and move

Parameter
Name Description
Snapshot &&
Returns
Type Description
Snapshot &

Functions

project_id() const

Returns the Project ID.

Returns
Type Description
std::string const &

snapshot_id() const

Returns the Snapshot ID.

Returns
Type Description
std::string const &

FullName() const

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

Returns
Type Description
std::string