REST Resource: projects.locations.services.backups

Resource: Backup

The details of a backup resource.

JSON representation
{
  "name": string,
  "createTime": string,
  "endTime": string,
  "state": enum (State),
  "serviceRevision": {
    object (Service)
  },
  "description": string
}
Fields
name

string

Immutable. The relative resource name of the backup, in the following form:

projects/{projectNumber}/locations/{locationId}/services/{serviceId}/backups/{backupId}

createTime

string (Timestamp format)

Output only. The time when the backup was started.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

endTime

string (Timestamp format)

Output only. The time when the backup finished creating.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

state

enum (State)

Output only. The current state of the backup.

serviceRevision

object (Service)

Output only. The revision of the service at the time of backup.

description

string

The description of the backup.

State

The current state of the backup.

Enums
STATE_UNSPECIFIED The state of the backup is unknown.
CREATING The backup is being created.
DELETING The backup is being deleted.
ACTIVE The backup is active and ready to use.
FAILED The backup failed.

Methods

create

Creates a new backup in a given project and location.

delete

Deletes a single backup.

get

Gets details of a single backup.

list

Lists backups in a service.