Class Backup (2.31.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
Name Description
Backup const &

Backup(Backup &&)

Copy and move

Parameter
Name Description
Backup &&

Backup(Instance, std::string)

Parameters
Name Description
instance Instance
backup_id std::string

Operators

operator=(Backup const &)

Copy and move

Parameter
Name Description
Backup const &
Returns
Type Description
Backup &

operator=(Backup &&)

Copy and move

Parameter
Name Description
Backup &&
Returns
Type Description
Backup &

Functions

instance() const

Returns the Instance containing this backup.

Returns
Type Description
Instance const &

backup_id() const

Returns the Backup ID.

Returns
Type Description
std::string const &

FullName() const

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

Returns
Type Description
std::string