Cloud Desktop API, gRPC: DesktopImageService.Get
Статья создана
Обновлена 17 декабря 2024 г.
Returns the specified desktop image.
gRPC request
rpc Get (GetDesktopImageRequest) returns (DesktopImage)
GetDesktopImageRequest
{
"image_id": "string"
}
Field |
Description |
image_id |
string Required field. ID of the image to get. |
DesktopImage
{
"id": "string",
"folder_id": "string",
"created_at": "google.protobuf.Timestamp",
"status": "Status",
"name": "string",
"labels": "map<string, string>",
"storage_size": "int64",
"min_disk_size": "int64"
}
A desktop image resource.
Field |
Description |
id |
string ID of the image. |
folder_id |
string ID of the folder that the image belongs to. |
created_at |
Creation timestamp in RFC3339 |
status |
enum Status Status of the image.
|
name |
string Name of the image. |
labels |
object (map<string, string>) Description of the image. |
storage_size |
int64 Size of the image, specified in bytes. |
min_disk_size |
int64 Minimum disk size in bytes required to use the image. |