{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-accelerator-type-schema.json",
  "title": "AcceleratorType",
  "description": "Represents an Accelerator Type resource.\n\nGoogle Cloud Platform provides graphics processing units (accelerators) that\nyou can add to VM instances to improve or accelerate performance when working\nwith intensive workloads. For more information, readGPUs on Compute Engine.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-accelerator-types-api-openapi.yml#/components/schemas/AcceleratorType",
  "properties": {
    "selfLink": {
      "description": "Output only. [Output Only] Server-defined, fully qualified URL for this resource.",
      "type": "string",
      "readOnly": true
    },
    "creationTimestamp": {
      "type": "string",
      "description": "[Output Only] Creation timestamp inRFC3339 text format."
    },
    "zone": {
      "description": "[Output Only] The name of the zone where the accelerator type resides,\nsuch as us-central1-a.\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": {
      "type": "string",
      "description": "[Output Only] An optional textual description of the resource."
    },
    "kind": {
      "type": "string",
      "default": "compute#acceleratorType",
      "readOnly": true,
      "description": "Output only. [Output Only] The type of the resource. Alwayscompute#acceleratorType for accelerator types."
    },
    "id": {
      "description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.",
      "type": "string",
      "format": "uint64"
    },
    "maximumCardsPerInstance": {
      "format": "int32",
      "type": "integer",
      "description": "[Output Only] Maximum number of accelerator cards allowed per instance."
    },
    "deprecated": {
      "$ref": "#/$defs/DeprecationStatus",
      "description": "[Output Only] The deprecation status associated with this accelerator type."
    },
    "resourceMetadata": {
      "$ref": "#/$defs/ResourceMetadata",
      "description": "Output only. Contains standard resource metadata for an AcceleratorType\nresource. It is populated for each instance of the AcceleratorType\nresource, and includes the api_version the\ninstance was retrieved through, and its canonical\nresource_type name."
    },
    "name": {
      "type": "string",
      "description": "[Output Only] Name of the resource.",
      "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"
    }
  },
  "type": "object",
  "$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"
        }
      }
    },
    "ResourceMetadata": {
      "properties": {
        "resourceType": {
          "description": "The canonical resource type name in the format of a resource type\nas defined by [AIP-123](https://google.aip.dev/123).\nFor example, `\"compute.googleapis.com/Instance\"`.",
          "type": "string"
        },
        "apiVersion": {
          "description": "The version of the API interface that this resource was retrieved through.\nFor example, `\"2025-01-01\"` or `\"2025-01-01-preview\"`.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Standardized resource metadata common to all compute resources."
    }
  }
}