{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-memorystore/json-schema/google-cloud-memorystore-backup-collection-schema.json",
  "title": "BackupCollection",
  "description": "BackupCollection of a cluster.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-memorystore-redis-projects-api-openapi.yml#/components/schemas/BackupCollection",
  "properties": {
    "lastBackupTime": {
      "description": "Output only. The last time a backup was created in the backup collection.",
      "readOnly": true,
      "type": "string",
      "format": "google-datetime"
    },
    "cluster": {
      "description": "Output only. The full resource path of the cluster the backup collection belongs to. Example: projects/{project}/locations/{location}/clusters/{cluster}",
      "readOnly": true,
      "type": "string"
    },
    "uid": {
      "readOnly": true,
      "type": "string",
      "description": "Output only. System assigned unique identifier of the backup collection."
    },
    "clusterUid": {
      "type": "string",
      "description": "Output only. The cluster uid of the backup collection.",
      "readOnly": true
    },
    "totalBackupCount": {
      "description": "Output only. Total number of backups in the backup collection.",
      "format": "int64",
      "type": "string",
      "readOnly": true
    },
    "totalBackupSizeBytes": {
      "format": "int64",
      "type": "string",
      "description": "Output only. Total size of all backups in the backup collection.",
      "readOnly": true
    },
    "createTime": {
      "type": "string",
      "readOnly": true,
      "description": "Output only. The time when the backup collection was created.",
      "format": "google-datetime"
    },
    "name": {
      "type": "string",
      "description": "Identifier. Full resource path of the backup collection."
    },
    "kmsKey": {
      "description": "Output only. The KMS key used to encrypt the backups under this backup collection.",
      "readOnly": true,
      "type": "string"
    }
  },
  "type": "object"
}