Class Backup (2.21.0)

This class identifies a Cloud Spanner Backup.

A Cloud Spanner backup is identified by an Instance and a backup_id.

Constructors

Backup(Backup const &)

Copy and move

Parameter
NameDescription
Backup const &

Backup(Backup &&)

Copy and move

Parameter
NameDescription
Backup &&

Backup(Instance, std::string)

Parameters
NameDescription
instance Instance
backup_id std::string

Operators

operator=(Backup const &)

Copy and move

Parameter
NameDescription
Backup const &
Returns
TypeDescription
Backup &

operator=(Backup &&)

Copy and move

Parameter
NameDescription
Backup &&
Returns
TypeDescription
Backup &

Functions

instance() const

Returns the Instance containing this backup.

Returns
TypeDescription
Instance const &

backup_id() const

Returns the Backup ID.

Returns
TypeDescription
std::string const &

FullName() const

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

Returns
TypeDescription
std::string