[Output Only] An optional description of this resource.
validDiskSize
string
[Output Only] An optional textual description of the valid disk size, such as "10GB-10TB".
deprecated
object
[Output Only] The deprecation status associated with this disk type.
deprecated.state
enum
The deprecation state of this resource. This can beACTIVE,DEPRECATED,OBSOLETE, orDELETED. Operations which communicate the end of life date for an image, can useACTIVE. Operations which create a new resource using aDEPRECATEDresource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which useOBSOLETEorDELETEDresources will be rejected and result in an error.
deprecated.replacement
string
The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource.
deprecated.deprecated
string
An optionalRFC3339timestamp on or after which the state of this resource is intended to change toDEPRECATED. This is only informational and the status will not change unless the client explicitly changes it.
deprecated.obsolete
string
An optionalRFC3339timestamp on or after which the state of this resource is intended to change toOBSOLETE. This is only informational and the status will not change unless the client explicitly changes it.
deprecated.deleted
string
An optionalRFC3339timestamp on or after which the state of this resource is intended to change toDELETED. This is only informational and the status will not change unless the client explicitly changes it.
zone
string
[Output Only] URL of the zone where the disk type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
selfLink
string
[Output Only] Server-defined URL for the resource.
[Output Only] Server-defined default disk size in GB.
region
string
[Output Only] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-28 UTC."],[[["\u003cp\u003eThis page details how to retrieve information about a specific disk type using a \u003ccode\u003eGET\u003c/code\u003e request to the Google Compute Engine API.\u003c/p\u003e\n"],["\u003cp\u003eThe request URL includes path parameters for \u003ccode\u003eproject\u003c/code\u003e, \u003ccode\u003ezone\u003c/code\u003e, and \u003ccode\u003ediskType\u003c/code\u003e, which are essential to specify the desired disk type.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, while a successful response will include a JSON representation of the disk type's properties, such as its name, description, size, and deprecation status.\u003c/p\u003e\n"],["\u003cp\u003eThe disk types are divided into Zonal and Regional types, each being accessible via their respective resources, \u003ccode\u003ediskTypes\u003c/code\u003e and \u003ccode\u003eregionDiskTypes\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAppropriate authorization scopes or IAM permissions, such as \u003ccode\u003ecompute.diskTypes.get\u003c/code\u003e, are required to successfully use this API endpoint.\u003c/p\u003e\n"]]],[],null,["# Method: diskTypes.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.DiskType.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nReturns the specified disk type.\n\n### HTTP request\n\n`GET https://compute.googleapis.com/compute/v1/projects/{project}/zones/{zone}/diskTypes/{diskType}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nRepresents 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. For more information, read [Storage options](/compute/docs/disks).\n\nThe `diskTypes` resource represents disk types for a zonal persistent disk. For more information, read [Zonal persistent disks](/compute/docs/disks#pdspecs).\n\nThe `regionDiskTypes` resource represents disk types for a regional persistent disk. For more information, read [Regional persistent disks](/compute/docs/disks#repds).\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/compute.readonly`\n- `\n https://www.googleapis.com/auth/compute`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nIn addition to any permissions specified on the fields above, authorization requires one or more of the following [IAM](https://cloud.google.com/iam/docs/) permissions:\n\n- `compute.diskTypes.get`\n\nTo find predefined roles that contain those permissions, see [Compute Engine IAM Roles](/compute/docs/access/iam)."]]