# REST Resource: projects.locations.instances.backups

- [Resource: InstanceBackup](https://docs.cloud.google.com/looker/docs/reference/rest/v1/projects.locations.instances.backups#InstanceBackup)
  - [JSON representation](https://docs.cloud.google.com/looker/docs/reference/rest/v1/projects.locations.instances.backups#InstanceBackup.SCHEMA_REPRESENTATION)
- [State](https://docs.cloud.google.com/looker/docs/reference/rest/v1/projects.locations.instances.backups#State)
- [Methods](https://docs.cloud.google.com/looker/docs/reference/rest/v1/projects.locations.instances.backups#METHODS_SUMMARY)

## Resource: InstanceBackup

The details of a backup resource.

| JSON representation |
|---|
| ``` { "name": string, "createTime": string, "expireTime": string, "state": enum (`https://docs.cloud.google.com/looker/docs/reference/rest/v1/projects.locations.instances.backups#State`), "encryptionConfig": { object (`https://docs.cloud.google.com/looker/docs/reference/rest/v1/EncryptionConfig`) } } ``` |

| Fields ||
|---|---|
| `name` | `string` Immutable. The relative resource name of the backup, in the following form: `projects/{projectNumber}/locations/{locationId}/instances/{instanceId}/backups/{backup}` |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The time when the backup was started. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `expireTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The time when the backup will be deleted. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `state` | ``enum (`https://docs.cloud.google.com/looker/docs/reference/rest/v1/projects.locations.instances.backups#State`)`` Output only. The current state of the backup. |
| `encryptionConfig` | ``object (`https://docs.cloud.google.com/looker/docs/reference/rest/v1/EncryptionConfig`)`` Output only. Current status of the CMEK encryption |

## 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 ||
|---|---|
| ### `https://docs.cloud.google.com/looker/docs/reference/rest/v1/projects.locations.instances.backups/create` | Backup Looker instance. |
| ### `https://docs.cloud.google.com/looker/docs/reference/rest/v1/projects.locations.instances.backups/delete` | Delete backup. |
| ### `https://docs.cloud.google.com/looker/docs/reference/rest/v1/projects.locations.instances.backups/get` |   |
| ### `https://docs.cloud.google.com/looker/docs/reference/rest/v1/projects.locations.instances.backups/list` | List backups of Looker instance. |