{
  "$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-list-schema.json",
  "title": "AcceleratorTypeList",
  "description": "Contains a list of accelerator types.",
  "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/AcceleratorTypeList",
  "properties": {
    "warning": {
      "description": "[Output Only] Informational warning message.",
      "type": "object",
      "properties": {
        "data": {
          "description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n  {\n   \"key\": \"scope\",\n   \"value\": \"zones/us-east1-d\"\n  }]",
          "items": {
            "type": "object",
            "properties": {
              "key": {
                "type": "string",
                "description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding)."
              },
              "value": {
                "description": "[Output Only] A warning data value corresponding to the key.",
                "type": "string"
              }
            }
          },
          "type": "array"
        },
        "message": {
          "description": "[Output Only] A human-readable description of the warning code.",
          "type": "string"
        },
        "code": {
          "enum": [
            "CLEANUP_FAILED",
            "DEPRECATED_RESOURCE_USED",
            "DEPRECATED_TYPE_USED",
            "DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
            "EXPERIMENTAL_TYPE_USED",
            "EXTERNAL_API_WARNING",
            "FIELD_VALUE_OVERRIDEN",
            "INJECTED_KERNELS_DEPRECATED",
            "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB",
            "LARGE_DEPLOYMENT_WARNING",
            "LIST_OVERHEAD_QUOTA_EXCEED",
            "MISSING_TYPE_DEPENDENCY",
            "NEXT_HOP_ADDRESS_NOT_ASSIGNED",
            "NEXT_HOP_CANNOT_IP_FORWARD",
            "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE",
            "NEXT_HOP_INSTANCE_NOT_FOUND",
            "NEXT_HOP_INSTANCE_NOT_ON_NETWORK",
            "NEXT_HOP_NOT_RUNNING",
            "NOT_CRITICAL_ERROR",
            "NO_RESULTS_ON_PAGE",
            "PARTIAL_SUCCESS",
            "QUOTA_INFO_UNAVAILABLE",
            "REQUIRED_TOS_AGREEMENT",
            "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING",
            "RESOURCE_NOT_DELETED",
            "SCHEMA_VALIDATION_IGNORED",
            "SINGLE_INSTANCE_PROPERTY_TEMPLATE",
            "UNDECLARED_PROPERTIES",
            "UNREACHABLE"
          ],
          "description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.",
          "type": "string"
        }
      }
    },
    "items": {
      "items": {
        "$ref": "#/$defs/AcceleratorType"
      },
      "description": "A list of AcceleratorType resources.",
      "type": "array"
    },
    "id": {
      "description": "[Output Only] Unique identifier for the resource; defined by the server.",
      "type": "string"
    },
    "selfLink": {
      "readOnly": true,
      "description": "Output only. [Output Only] Server-defined URL for this resource.",
      "type": "string"
    },
    "kind": {
      "description": "Output only. [Output Only] Type of resource. Alwayscompute#acceleratorTypeList for lists of accelerator types.",
      "type": "string",
      "readOnly": true,
      "default": "compute#acceleratorTypeList"
    },
    "nextPageToken": {
      "type": "string",
      "description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results."
    }
  },
  "type": "object",
  "$defs": {
    "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.",
      "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"
    },
    "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."
    }
  }
}