Gets a DeviceSession, which documents the allocation status and whether the device is allocated. Clients making requests from this API must poll deviceSessions.get.
HTTP request
GET https://devicestreaming.googleapis.com/v1/{name=projects/*/deviceSessions/*}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-09 UTC."],[[["\u003cp\u003eThis webpage describes how to retrieve a DeviceSession using a GET request to a specific URL endpoint.\u003c/p\u003e\n"],["\u003cp\u003eThe request URL requires a path parameter named \u003ccode\u003ename\u003c/code\u003e, which includes the project ID and session ID.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for retrieving a DeviceSession must be empty.\u003c/p\u003e\n"],["\u003cp\u003eA successful response will return a DeviceSession object containing the details of the requested session.\u003c/p\u003e\n"],["\u003cp\u003eAccess to this API requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]