Resource: Backup
A backup of a Cloud Spanner database.
JSON representation | |
---|---|
{
"database": string,
"expireTime": string,
"name": string,
"createTime": string,
"sizeBytes": string,
"state": enum ( |
Fields | |
---|---|
database |
Required for the |
expireTime |
Required for the A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
name |
Output only for the A globally unique identifier for the backup which cannot be changed. Values are of the form The backup is stored in the location(s) specified in the instance configuration of the instance containing the backup, identified by the prefix of the backup name of the form |
createTime |
Output only. The backup will contain an externally consistent copy of the database at the timestamp specified by A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
sizeBytes |
Output only. Size of the backup in bytes. |
state |
Output only. The current state of the backup. |
referencingDatabases[] |
Output only. The names of the restored databases that reference the backup. The database names are of the form |
State
Indicates the current state of the backup.
Enums | |
---|---|
STATE_UNSPECIFIED |
Not specified. |
CREATING |
The pending backup is still being created. Operations on the backup may fail with FAILED_PRECONDITION in this state. |
READY |
The backup is complete and ready for use. |
Methods |
|
---|---|
|
Starts creating a new Cloud Spanner Backup. |
|
Deletes a pending or completed Backup . |
|
Gets metadata on a pending or completed Backup . |
|
Gets the access control policy for a database or backup resource. |
|
Lists completed and pending backups. |
|
Updates a pending or completed Backup . |
|
Sets the access control policy on a database or backup resource. |
|
Returns permissions that the caller has on the specified database or backup resource. |