{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-disk-type-schema.json",
  "title": "DiskType",
  "description": "Represents a Disk Type resource.\n\nGoogle Compute Engine has two Disk Type resources:\n\n* [Regional](/compute/docs/reference/rest/v1/regionDiskTypes)\n* [Zonal](/compute/docs/reference/rest/v1/diskTypes)\n\nYou can choose from a variety of disk types based on your needs.\nFor more information, readStorage options.\n\nThe diskTypes resource represents disk types for a zonal\npersistent disk.\nFor more information, readZonal persistent disks.\n\nThe regionDiskTypes resource represents disk types for a\nregional persistent disk. For more information, read Regional persistent disks.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-disk-types-api-openapi.yml#/components/schemas/DiskType",
  "type": "object",
  "properties": {
    "name": {
      "description": "[Output Only] Name of the resource.",
      "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
      "type": "string"
    },
    "selfLink": {
      "type": "string",
      "description": "[Output Only] Server-defined URL for the resource."
    },
    "deprecated": {
      "$ref": "#/$defs/DeprecationStatus",
      "description": "[Output Only] The deprecation status associated with this disk type."
    },
    "validDiskSize": {
      "description": "[Output Only] An optional textual description of the valid disk size,\nsuch as \"10GB-10TB\".",
      "type": "string"
    },
    "region": {
      "description": "[Output Only] URL of the region where the disk type resides. Only\napplicable for regional resources.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.",
      "type": "string"
    },
    "id": {
      "description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.",
      "type": "string",
      "format": "uint64"
    },
    "kind": {
      "readOnly": true,
      "default": "compute#diskType",
      "type": "string",
      "description": "Output only. [Output Only] Type of the resource. Always compute#diskType\nfor disk types."
    },
    "creationTimestamp": {
      "description": "[Output Only] Creation timestamp inRFC3339\ntext format.",
      "type": "string"
    },
    "zone": {
      "description": "[Output Only] URL of the zone where the disk type resides.\nYou must specify this field as part of the HTTP request URL. It is\nnot settable as a field in the request body.",
      "type": "string"
    },
    "description": {
      "description": "[Output Only] An optional description of this resource.",
      "type": "string"
    },
    "defaultDiskSizeGb": {
      "type": "string",
      "description": "[Output Only] Server-defined default disk size in GB.",
      "format": "int64"
    }
  },
  "$defs": {
    "DeprecationStatus": {
      "description": "Deprecation status for a public resource.",
      "type": "object",
      "properties": {
        "deleted": {
          "description": "An optional RFC3339 timestamp on or after which the state of this\nresource is intended to change to DELETED. This is only\ninformational and the status will not change unless the client explicitly\nchanges it.",
          "type": "string"
        },
        "obsolete": {
          "description": "An optional RFC3339 timestamp on or after which the state of this\nresource is intended to change to OBSOLETE. This is only\ninformational and the status will not change unless the client explicitly\nchanges it.",
          "type": "string"
        },
        "deprecated": {
          "description": "An optional RFC3339 timestamp on or after which the state of this\nresource is intended to change to DEPRECATED. This is only\ninformational and the status will not change unless the client explicitly\nchanges it.",
          "type": "string"
        },
        "state": {
          "type": "string",
          "description": "The deprecation state of this resource. This can be ACTIVE,DEPRECATED, OBSOLETE, or DELETED.\nOperations which communicate the end of life date for an image, can useACTIVE. Operations which create a new resource using aDEPRECATED resource will return successfully, but with a\nwarning indicating the deprecated resource and recommending its\nreplacement. Operations which use OBSOLETE orDELETED resources will be rejected and result in an error.",
          "enum": [
            "ACTIVE",
            "DELETED",
            "DEPRECATED",
            "OBSOLETE"
          ]
        },
        "replacement": {
          "description": "The URL of the suggested replacement for a deprecated resource.\nThe suggested replacement resource must be the same kind of resource as the\ndeprecated resource.",
          "type": "string"
        }
      }
    }
  }
}