Compute Cloud API, gRPC: DiskTypeService.List
Retrieves the list of disk types for the specified folder.
gRPC request
rpc List (ListDiskTypesRequest) returns (ListDiskTypesResponse)
ListDiskTypesRequest
{
"page_size": "int64",
"page_token": "string"
}
Field |
Description |
page_size |
int64 The maximum number of results per page to return. If the number of available |
page_token |
string Page token. To get the next page of results, set |
ListDiskTypesResponse
{
"disk_types": [
{
"id": "string",
"description": "string",
"zone_ids": [
"string"
]
}
],
"next_page_token": "string"
}
Field |
Description |
disk_types[] |
List of disk types. |
next_page_token |
string This token allows you to get the next page of results for list requests. If the number of results |
DiskType
Field |
Description |
id |
string ID of the disk type. |
description |
string Description of the disk type. 0-256 characters long. |
zone_ids[] |
string Array of availability zones where the disk type is available. |