- [Resource: BackupCollection](https://docs.cloud.google.com/memorystore/docs/cluster/reference/rest/v1beta1/projects.locations.backupCollections#BackupCollection)
  - [JSON representation](https://docs.cloud.google.com/memorystore/docs/cluster/reference/rest/v1beta1/projects.locations.backupCollections#BackupCollection.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/memorystore/docs/cluster/reference/rest/v1beta1/projects.locations.backupCollections#METHODS_SUMMARY)

## Resource: BackupCollection

BackupCollection of a cluster.

| JSON representation |
|---|
| ``` { "name": string, "clusterUid": string, "cluster": string, "kmsKey": string, "uid": string, "createTime": string, "totalBackupSizeBytes": string, "totalBackupCount": string, "lastBackupTime": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. Full resource path of the backup collection. |
| `clusterUid` | `string` Output only. The cluster uid of the backup collection. |
| `cluster` | `string` Output only. The full resource path of the cluster the backup collection belongs to. Example: projects/{project}/locations/{location}/clusters/{cluster} |
| `kmsKey` | `string` Output only. The KMS key used to encrypt the backups under this backup collection. |
| `uid` | `string` Output only. System assigned unique identifier of the backup collection. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The time when the backup collection was created. 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"`. |
| `totalBackupSizeBytes` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. Total size of all backups in the backup collection. |
| `totalBackupCount` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. Total number of backups in the backup collection. |
| `lastBackupTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The last time a backup was created in the backup collection. 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"`. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/memorystore/docs/cluster/reference/rest/v1beta1/projects.locations.backupCollections/get` | Get a backup collection. |
| ### `https://docs.cloud.google.com/memorystore/docs/cluster/reference/rest/v1beta1/projects.locations.backupCollections/list` | Lists all backup collections owned by a consumer project in either the specified location (region) or all locations. |