Cloud Desktop API, gRPC: DesktopService.Get
Returns the specified desktop resource.
To get the list of available desktops, make a List request.
gRPC request
rpc Get (GetDesktopRequest) returns (Desktop)
GetDesktopRequest
{
"desktop_id": "string"
}
Field |
Description |
desktop_id |
string Required field. ID of the desktop resource to return. To get the desktop ID use a DesktopService.List request. |
Desktop
{
"id": "string",
"folder_id": "string",
"desktop_group_id": "string",
"created_at": "google.protobuf.Timestamp",
"status": "Status",
"name": "string",
"resources": {
"memory": "int64",
"cores": "int64",
"core_fraction": "int64"
},
"network_interfaces": [
{
"network_id": "string",
"subnet_id": "string"
}
],
"users": [
{
"subject_id": "string",
"subject_type": "string"
}
]
}
A desktop resource.
Field |
Description |
id |
string Desktop ID. |
folder_id |
string ID of the folder that the desktop belongs to. |
desktop_group_id |
string ID of the desktop group that the desktop belongs to. |
created_at |
Creation timestamp in RFC3339 |
status |
enum Status Status of the desktop.
|
name |
string Name of the desktop. |
resources |
Resources of the desktop. |
network_interfaces[] |
|
users[] |
Resources
Field |
Description |
memory |
int64 |
cores |
int64 |
core_fraction |
int64 |
NetworkInterface
Field |
Description |
network_id |
string Required field. |
subnet_id |
string Required field. |
User
Field |
Description |
subject_id |
string Required field. Identity of the access binding. |
subject_type |
string Required field. Type of the access binding, e.g. userAccount, serviceAccount, system. |