{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-machine-type-schema.json",
  "title": "MachineType",
  "description": "Represents a Machine Type resource.\n\nYou can use specific machine types for your VM instances based on performance\nand pricing requirements. For more information, readMachine Types.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-machine-types-api-openapi.yml#/components/schemas/MachineType",
  "properties": {
    "isSharedCpu": {
      "description": "[Output Only] Whether this machine type has a shared CPU. SeeShared-core machine\ntypes for more information.",
      "type": "boolean"
    },
    "kind": {
      "default": "compute#machineType",
      "type": "string",
      "description": "Output only. [Output Only] The type of the resource. Alwayscompute#machineType for machine types.",
      "readOnly": true
    },
    "guestCpus": {
      "description": "[Output Only] The number of virtual CPUs that are available to the\ninstance.",
      "type": "integer",
      "format": "int32"
    },
    "accelerators": {
      "type": "array",
      "description": "[Output Only] A list of accelerator configurations assigned to this\nmachine type.",
      "items": {
        "properties": {
          "guestAcceleratorType": {
            "description": "The accelerator type resource name, not a full URL, e.g.nvidia-tesla-t4.",
            "type": "string"
          },
          "guestAcceleratorCount": {
            "format": "int32",
            "type": "integer",
            "description": "Number of accelerator cards exposed to the guest."
          }
        },
        "type": "object"
      }
    },
    "creationTimestamp": {
      "description": "[Output Only] Creation timestamp inRFC3339\ntext format.",
      "type": "string"
    },
    "maximumPersistentDisksSizeGb": {
      "type": "string",
      "format": "int64",
      "description": "[Output Only] Maximum total persistent disks size (GB) allowed."
    },
    "selfLink": {
      "description": "[Output Only] Server-defined URL for the resource.",
      "type": "string"
    },
    "memoryMb": {
      "format": "int32",
      "description": "[Output Only] The amount of physical memory available to the instance,\ndefined in MB.",
      "type": "integer"
    },
    "id": {
      "description": "[Output Only] The unique identifier for the resource. This identifier is\ndefined by the server.",
      "format": "uint64",
      "type": "string"
    },
    "description": {
      "description": "[Output Only] An optional textual description of the resource.",
      "type": "string"
    },
    "zone": {
      "type": "string",
      "description": "[Output Only] The name of the zone where the machine type resides,\nsuch as us-central1-a."
    },
    "maximumPersistentDisks": {
      "type": "integer",
      "format": "int32",
      "description": "[Output Only] Maximum persistent disks allowed."
    },
    "name": {
      "type": "string",
      "description": "[Output Only] Name of the resource.",
      "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"
    },
    "deprecated": {
      "$ref": "#/$defs/DeprecationStatus",
      "description": "[Output Only] The deprecation status associated with this machine type.\nOnly applicable if the machine type is unavailable."
    },
    "imageSpaceGb": {
      "format": "int32",
      "description": "[Deprecated] This property is deprecated and will never be populated with\nany relevant values.",
      "type": "integer"
    },
    "architecture": {
      "enum": [
        "ARCHITECTURE_UNSPECIFIED",
        "ARM64",
        "X86_64"
      ],
      "description": "[Output Only] The architecture of the machine type.",
      "type": "string"
    },
    "bundledLocalSsds": {
      "$ref": "#/$defs/BundledLocalSsds",
      "description": "[Output Only] The configuration of bundled local SSD for the machine type."
    }
  },
  "type": "object",
  "$defs": {
    "BundledLocalSsds": {
      "properties": {
        "partitionCount": {
          "format": "int32",
          "description": "The number of partitions.",
          "type": "integer"
        },
        "defaultInterface": {
          "type": "string",
          "description": "The default disk interface if the interface is not specified."
        }
      },
      "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"
        }
      }
    }
  }
}