{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-instant-snapshot-schema.json",
  "title": "InstantSnapshot",
  "description": "Represents a InstantSnapshot resource.\n\nYou can use instant snapshots to create disk rollback points quickly..",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-instant-snapshots-api-openapi.yml#/components/schemas/InstantSnapshot",
  "properties": {
    "kind": {
      "default": "compute#instantSnapshot",
      "readOnly": true,
      "type": "string",
      "description": "Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshot for InstantSnapshot resources."
    },
    "satisfiesPzi": {
      "description": "Output only. Reserved for future use.",
      "type": "boolean",
      "readOnly": true
    },
    "sourceDisk": {
      "description": "URL of the source disk used to create this instant snapshot.\nNote that the source disk must be in the same zone/region as the\ninstant snapshot to be created. This can be a full or valid partial URL.\nFor example, the following are valid values:\n   \n   \n     - \n       https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk\n     \n     - \n       https://www.googleapis.com/compute/v1/projects/project/regions/region/disks/disk\n     \n     - \n       projects/project/zones/zone/disks/disk\n     \n     - \n       projects/project/regions/region/disks/disk\n     \n     - \n       zones/zone/disks/disk\n     \n     - \n       regions/region/disks/disk",
      "type": "string"
    },
    "satisfiesPzs": {
      "description": "Output only. [Output Only] Reserved for future use.",
      "type": "boolean",
      "readOnly": true
    },
    "diskSizeGb": {
      "description": "Output only. [Output Only] Size of the source disk, specified in GB.",
      "format": "int64",
      "type": "string",
      "readOnly": true
    },
    "sourceInstantSnapshotGroup": {
      "type": "string",
      "description": "Output only. [Output Only] URL of the source instant snapshot this instant snapshot is\npart of. Note that the source instant snapshot group must be in the same\nzone/region as the instant snapshot to be created. This can be a full or\nvalid partial URL.",
      "readOnly": true
    },
    "region": {
      "type": "string",
      "readOnly": true,
      "description": "Output only. [Output Only] URL of the region where the instant snapshot resides.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body."
    },
    "id": {
      "format": "uint64",
      "description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.",
      "type": "string",
      "readOnly": true
    },
    "selfLinkWithId": {
      "readOnly": true,
      "type": "string",
      "description": "Output only. [Output Only] Server-defined URL for this resource's resource id."
    },
    "creationTimestamp": {
      "description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.",
      "readOnly": true,
      "type": "string"
    },
    "labelFingerprint": {
      "type": "string",
      "description": "A fingerprint for the labels being applied to this InstantSnapshot, which\nis essentially a hash of the labels set used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update labels. You must always provide an\nup-to-date fingerprint hash in order to update or change labels,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve a InstantSnapshot.",
      "format": "byte"
    },
    "status": {
      "readOnly": true,
      "description": "Output only. [Output Only] The status of the instantSnapshot. This can beCREATING, DELETING, FAILED, orREADY.",
      "type": "string",
      "enum": [
        "CREATING",
        "DELETING",
        "FAILED",
        "READY",
        "UNAVAILABLE"
      ]
    },
    "zone": {
      "description": "Output only. [Output Only] URL of the zone where the instant snapshot resides.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.",
      "readOnly": true,
      "type": "string"
    },
    "sourceDiskId": {
      "type": "string",
      "readOnly": true,
      "description": "Output only. [Output Only] The ID value of the disk used to create this InstantSnapshot.\nThis value may be used to determine whether the InstantSnapshot\nwas taken from the current or a previous instance of a given disk name."
    },
    "labels": {
      "description": "Labels to apply to this InstantSnapshot. These can be later modified by\nthe setLabels method.\nLabel values may be empty.",
      "additionalProperties": {
        "type": "string"
      },
      "type": "object"
    },
    "architecture": {
      "enum": [
        "ARCHITECTURE_UNSPECIFIED",
        "ARM64",
        "X86_64"
      ],
      "description": "Output only. [Output Only] The architecture of the instant snapshot. Valid values are\nARM64 or X86_64.",
      "readOnly": true,
      "type": "string"
    },
    "description": {
      "type": "string",
      "description": "An optional description of this resource. Provide this property when you\ncreate the resource."
    },
    "name": {
      "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
      "description": "Name of the resource; provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must be\na dash, lowercase letter, or digit, except the last character, which cannot\nbe a dash.",
      "type": "string"
    },
    "resourceStatus": {
      "$ref": "#/$defs/InstantSnapshotResourceStatus",
      "description": "Output only. [Output Only] Status information for the instant snapshot resource."
    },
    "params": {
      "$ref": "#/$defs/InstantSnapshotParams",
      "description": "Input only. Additional params passed with the request, but not persisted\nas part of resource payload."
    },
    "selfLink": {
      "type": "string",
      "description": "Output only. [Output Only] Server-defined URL for the resource.",
      "readOnly": true
    },
    "sourceInstantSnapshotGroupId": {
      "type": "string",
      "readOnly": true,
      "description": "Output only. [Output Only] The ID value of the source instant snapshot group this\nInstantSnapshot is part of. This value may be used to determine whether the\nInstantSnapshot was created as part of an InstantSnapshotGroup creation."
    }
  },
  "type": "object",
  "$defs": {
    "InstantSnapshotParams": {
      "type": "object",
      "properties": {
        "resourceManagerTags": {
          "description": "Input only. Resource manager tags to be bound to the instant snapshot. Tag keys and\nvalues have the same definition as resource\nmanager tags. Keys and values can be either in numeric format,\nsuch as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in\nnamespaced format such as `{org_id|project_id}/{tag_key_short_name}` and\n`{tag_value_short_name}`. The field is ignored (both PUT &\nPATCH) when empty.",
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        }
      },
      "description": "Additional instant snapshot params."
    },
    "InstantSnapshotResourceStatus": {
      "properties": {
        "storageSizeBytes": {
          "type": "string",
          "format": "int64",
          "description": "[Output Only] The storage size of this instant snapshot."
        }
      },
      "type": "object"
    }
  }
}