{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/looker/json-schema/looker-list-instance-backups-response-schema.json",
  "title": "ListInstanceBackupsResponse",
  "description": "Response from listing Looker instance backups.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/looker-projects-api-openapi.yml#/components/schemas/ListInstanceBackupsResponse",
  "properties": {
    "unreachable": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Locations that could not be reached."
    },
    "instanceBackups": {
      "description": "The list of instances matching the request filters, up to the requested `page_size`.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/InstanceBackup"
      }
    },
    "nextPageToken": {
      "description": "If provided, a page token that can look up the next `page_size` results. If empty, the results list is exhausted.",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "EncryptionConfig": {
      "properties": {
        "kmsKeyState": {
          "description": "Output only. Status of the CMEK key.",
          "type": "string",
          "enum": [
            "KMS_KEY_STATE_UNSPECIFIED",
            "VALID",
            "REVOKED"
          ],
          "readOnly": true
        },
        "kmsKeyName": {
          "type": "string",
          "description": "Optional. Immutable. Name of the CMEK key in KMS (input parameter)."
        },
        "kmsKeyNameVersion": {
          "description": "Output only. Full name and version of the CMEK key currently in use to encrypt Looker data. Format: `projects/{project}/locations/{location}/keyRings/{ring}/cryptoKeys/{key}/cryptoKeyVersions/{version}`. Empty if CMEK is not configured in this instance.",
          "type": "string",
          "readOnly": true
        }
      },
      "type": "object",
      "description": "Encryption configuration (i.e. CMEK)."
    },
    "InstanceBackup": {
      "description": "The details of a backup resource.",
      "type": "object",
      "properties": {
        "encryptionConfig": {
          "$ref": "#/$defs/EncryptionConfig",
          "description": "Output only. Current status of the CMEK encryption"
        },
        "expireTime": {
          "type": "string",
          "format": "google-datetime",
          "description": "Output only. The time when the backup will be deleted.",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "Immutable. The relative resource name of the backup, in the following form: `projects/{project_number}/locations/{location_id}/instances/{instance_id}/backups/{backup}`"
        },
        "state": {
          "type": "string",
          "enum": [
            "STATE_UNSPECIFIED",
            "CREATING",
            "DELETING",
            "ACTIVE",
            "FAILED"
          ],
          "readOnly": true,
          "description": "Output only. The current state of the backup."
        },
        "createTime": {
          "type": "string",
          "description": "Output only. The time when the backup was started.",
          "readOnly": true,
          "format": "google-datetime"
        }
      }
    }
  }
}