Cloud Desktop API, gRPC: DesktopService.GetRdpFile
Written by
Updated at December 17, 2024
Returns a RDP file for the specified desktop.
gRPC request
rpc GetRdpFile (GetRdpFileRequest) returns (RdpFileResponse)
GetRdpFileRequest
{
"desktop_id": "string",
"user": {
"subject_id": "string",
"subject_type": "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. |
user |
User of the desktop. |
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. |
RdpFileResponse
{
"headers": "map<string, string>",
"content": "string"
}
Field |
Description |
headers |
object (map<string, string>) HTTP headers mapping. |
content |
string RDP file content. |