擷取行動裝置的屬性。
HTTP 要求
GET https://admin.googleapis.com/admin/directory/v1/customer/{customerId}/devices/mobile/{resourceId}
這個網址使用 gRPC 轉碼語法。
路徑參數
| 參數 | |
|---|---|
| customerId | 
 客戶 Google Workspace 帳戶的專屬 ID。身為帳戶管理員,您也可以使用  | 
| resourceId | 
 API 服務用來識別行動裝置的專屬 ID。 | 
查詢參數
| 參數 | |
|---|---|
| projection | 
 限制系統只能將資訊傳回一組選定的欄位。 | 
要求主體
要求主體必須為空白。
回應主體
如果成功,回應主體會包含 MobileDevice 的執行例項。
授權範圍
需要下列其中一種 OAuth 範圍:
- https://www.googleapis.com/auth/admin.directory.device.mobile
- https://www.googleapis.com/auth/admin.directory.device.mobile.action
- https://www.googleapis.com/auth/admin.directory.device.mobile.readonly
詳情請參閱授權指南。
預測值
| 列舉 | |
|---|---|
| BASIC | 僅包含基本中繼資料欄位 (例如 deviceId、model、status、type 和 status) | 
| FULL | 包含所有中繼資料欄位 |