列出企業管理的裝置。
HTTP 要求
GET https://smartdevicemanagement.googleapis.com/v1/{parent=enterprises/*}/devices
這個網址使用 gRPC 轉碼語法。
路徑參數
| 參數 | |
|---|---|
parent | 
                
                   
 要在上層企業列出裝置。例如:「enterprises/XYZ」。  | 
              
查詢參數
| 參數 | |
|---|---|
filter | 
                
                   
 選用篩選器,列出裝置。 篩選器適用於以下情況:裝置自訂名稱 (子字串比對):'customName=wing'  | 
              
要求主體
要求主體必須為空白。
回應主體
SmartDeviceManagementService.ListDevices 回應訊息
如果成功,回應主體會含有以下結構的資料:
| JSON 表示法 | 
|---|
{
  "devices": [
    {
      object ( | 
                  
| 欄位 | |
|---|---|
devices[] | 
                    
                       
 裝置清單。  | 
                  
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/sdm.service
詳情請參閱 OAuth 2.0 總覽。