Cloud Desktop API, gRPC: DesktopService.GetRdpFile
Статья создана
Обновлена 29 октября 2024 г.
Returns a RDP file for the specified desktop.
gRPC request
rpc GetRdpFile (GetRdpFileRequest) returns (RdpFileResponse)
GetRdpFileRequest
{
"desktopId": "string",
"user": {
"subjectId": "string",
"subjectType": "string"
}
}
Field |
Description |
desktopId |
string Required field. ID of the desktop resource to return. To get the desktop ID use a DesktopService.List request. |
user |
User of the desktop. |
User
Field |
Description |
subjectId |
string Required field. Identity of the access binding. |
subjectType |
string Required field. Type of the access binding, e.g. userAccount, serviceAccount, system. |
RdpFileResponse
{
"headers": "string",
"content": "string"
}
Field |
Description |
headers |
string HTTP headers mapping. |
content |
string RDP file content. |