Google Cloud SQL · Schema

BackupRun

A BackupRun resource.

DatabaseGoogle CloudMySQLPostgreSQLRelationalSQL

Properties

Name Type Description
timeZone string Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.
diskEncryptionConfiguration object Encryption configuration specific to a backup.
error object Information about why the backup operation failed. This is only present if the run has the FAILED status.
endTime string The time the backup operation completed in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
id string The identifier for this backup run. Unique only for a specific Cloud SQL instance.
backupKind string Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
enqueuedTime string The time the run was enqueued in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
diskEncryptionStatus object Encryption status specific to a backup.
maxChargeableBytes string Output only. The maximum chargeable bytes for the backup.
description string The description of this run, only applicable to on-demand backups.
location string Location of the backups.
startTime string The time the backup operation actually started in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
instance string Name of the database instance.
databaseVersion string Output only. The instance database version at the time this backup was made.
kind string This is always `sql#backupRun`.
status string The status of this run.
windowStartTime string The start time of the backup window during which this the backup was attempted in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
type string The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". This field defaults to "ON_DEMAND" and is ignored, when specified for insert requests.
selfLink string The URI of this resource.
View JSON Schema on GitHub

JSON Schema

google-cloud-sql-backup-run-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-sql/json-schema/google-cloud-sql-backup-run-schema.json",
  "title": "BackupRun",
  "description": "A BackupRun resource.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-sql-backup-runs-api-openapi.yml#/components/schemas/BackupRun",
  "type": "object",
  "properties": {
    "timeZone": {
      "description": "Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.",
      "type": "string"
    },
    "diskEncryptionConfiguration": {
      "$ref": "#/$defs/DiskEncryptionConfiguration",
      "description": "Encryption configuration specific to a backup."
    },
    "error": {
      "$ref": "#/$defs/OperationError",
      "description": "Information about why the backup operation failed. This is only present if the run has the FAILED status."
    },
    "endTime": {
      "format": "google-datetime",
      "description": "The time the backup operation completed in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.",
      "type": "string"
    },
    "id": {
      "description": "The identifier for this backup run. Unique only for a specific Cloud SQL instance.",
      "format": "int64",
      "type": "string"
    },
    "backupKind": {
      "enum": [
        "SQL_BACKUP_KIND_UNSPECIFIED",
        "SNAPSHOT",
        "PHYSICAL"
      ],
      "type": "string",
      "description": "Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT."
    },
    "enqueuedTime": {
      "type": "string",
      "format": "google-datetime",
      "description": "The time the run was enqueued in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`."
    },
    "diskEncryptionStatus": {
      "$ref": "#/$defs/DiskEncryptionStatus",
      "description": "Encryption status specific to a backup."
    },
    "maxChargeableBytes": {
      "format": "int64",
      "type": "string",
      "readOnly": true,
      "description": "Output only. The maximum chargeable bytes for the backup."
    },
    "description": {
      "description": "The description of this run, only applicable to on-demand backups.",
      "type": "string"
    },
    "location": {
      "type": "string",
      "description": "Location of the backups."
    },
    "startTime": {
      "format": "google-datetime",
      "description": "The time the backup operation actually started in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.",
      "type": "string"
    },
    "instance": {
      "description": "Name of the database instance.",
      "type": "string"
    },
    "databaseVersion": {
      "description": "Output only. The instance database version at the time this backup was made.",
      "readOnly": true,
      "type": "string",
      "enum": [
        "SQL_DATABASE_VERSION_UNSPECIFIED",
        "MYSQL_5_1",
        "MYSQL_5_5",
        "MYSQL_5_6",
        "MYSQL_5_7",
        "MYSQL_8_0",
        "MYSQL_8_0_18",
        "MYSQL_8_0_26",
        "MYSQL_8_0_27",
        "MYSQL_8_0_28",
        "MYSQL_8_0_29",
        "MYSQL_8_0_30",
        "MYSQL_8_0_31",
        "MYSQL_8_0_32",
        "MYSQL_8_0_33",
        "MYSQL_8_0_34",
        "MYSQL_8_0_35",
        "MYSQL_8_0_36",
        "MYSQL_8_0_37",
        "MYSQL_8_0_39",
        "MYSQL_8_0_40",
        "MYSQL_8_0_41",
        "MYSQL_8_0_42",
        "MYSQL_8_0_43",
        "MYSQL_8_0_44",
        "MYSQL_8_0_45",
        "MYSQL_8_0_46",
        "MYSQL_8_4",
        "MYSQL_9_7",
        "SQLSERVER_2017_STANDARD",
        "SQLSERVER_2017_ENTERPRISE",
        "SQLSERVER_2017_EXPRESS",
        "SQLSERVER_2017_WEB",
        "POSTGRES_9_6",
        "POSTGRES_10",
        "POSTGRES_11",
        "POSTGRES_12",
        "POSTGRES_13",
        "POSTGRES_14",
        "POSTGRES_15",
        "POSTGRES_16",
        "POSTGRES_17",
        "POSTGRES_18",
        "POSTGRES_19",
        "POSTGRES_20",
        "SQLSERVER_2019_STANDARD",
        "SQLSERVER_2019_ENTERPRISE",
        "SQLSERVER_2019_EXPRESS",
        "SQLSERVER_2019_WEB",
        "SQLSERVER_2022_STANDARD",
        "SQLSERVER_2022_ENTERPRISE",
        "SQLSERVER_2022_EXPRESS",
        "SQLSERVER_2022_WEB",
        "SQLSERVER_2025_STANDARD",
        "SQLSERVER_2025_ENTERPRISE",
        "SQLSERVER_2025_EXPRESS"
      ]
    },
    "kind": {
      "description": "This is always `sql#backupRun`.",
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "SQL_BACKUP_RUN_STATUS_UNSPECIFIED",
        "ENQUEUED",
        "OVERDUE",
        "RUNNING",
        "FAILED",
        "SUCCESSFUL",
        "SKIPPED",
        "DELETION_PENDING",
        "DELETION_FAILED",
        "DELETED"
      ],
      "description": "The status of this run."
    },
    "windowStartTime": {
      "description": "The start time of the backup window during which this the backup was attempted in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.",
      "format": "google-datetime",
      "type": "string"
    },
    "type": {
      "description": "The type of this run; can be either \"AUTOMATED\" or \"ON_DEMAND\" or \"FINAL\". This field defaults to \"ON_DEMAND\" and is ignored, when specified for insert requests.",
      "type": "string",
      "enum": [
        "SQL_BACKUP_RUN_TYPE_UNSPECIFIED",
        "AUTOMATED",
        "ON_DEMAND"
      ]
    },
    "selfLink": {
      "description": "The URI of this resource.",
      "type": "string"
    }
  },
  "$defs": {
    "DiskEncryptionConfiguration": {
      "description": "Disk encryption configuration for an instance.",
      "properties": {
        "kmsKeyName": {
          "description": "Resource name of KMS key for disk encryption.",
          "type": "string"
        },
        "kind": {
          "description": "This is always `sql#diskEncryptionConfiguration`.",
          "type": "string"
        },
        "cmekSourceLogEncryptionEnforced": {
          "description": "Optional. Whether to enforce CMEK log encryption at source. When enforced, transaction logs are encrypted prior to being uploaded to Cloud Storage. If not enforced, then CMEK logs are encrypted by the Cloud Storage service.",
          "type": "boolean"
        },
        "confidentialMode": {
          "type": "boolean",
          "description": "Optional. If true, enables Confidential Mode for the instance's Hyperdisk Balanced volumes. Only supported for zonal C4A instances currently."
        }
      },
      "type": "object"
    },
    "DiskEncryptionStatus": {
      "type": "object",
      "description": "Disk encryption status for an instance.",
      "properties": {
        "kind": {
          "type": "string",
          "description": "This is always `sql#diskEncryptionStatus`."
        },
        "kmsKeyVersionName": {
          "description": "KMS key version used to encrypt the Cloud SQL instance resource",
          "type": "string"
        }
      }
    },
    "OperationError": {
      "type": "object",
      "properties": {
        "kind": {
          "description": "This is always `sql#operationError`.",
          "type": "string"
        },
        "code": {
          "type": "string",
          "description": "Identifies the specific error that occurred."
        },
        "message": {
          "description": "Additional information about the error encountered.",
          "type": "string"
        }
      },
      "description": "Database instance operation error."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-cloud-sql-backup-run"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.