所要求硬體類型中有特定硬體規格 (例如型號名稱、處理器類型) 的裝置數量。詳情請參閱:https://support.google.com/chrome/a/answer/10564947
HTTP 要求
GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countChromeHardwareFleetDevices
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 | |
---|---|
customer |
必要欄位。客戶 ID 或「my_customer」。 |
查詢參數
參數 | |
---|---|
orgUnitId |
選用設定。機構單位的 ID。如果省略此引數,系統會傳回所有資料。 |
readMask |
必要欄位。應填入傳回的報表中的欄位遮罩。 這是以半形逗號分隔的完整欄位名稱清單。範例: |
要求主體
要求主體必須為空白。
回應主體
回應中包含符合所要求硬體類型特定硬體規格的裝置清單。
如果成功,回應主體會含有以下結構的資料:
JSON 表示法 |
---|
{ "modelReports": [ { object ( |
欄位 | |
---|---|
modelReports[] |
裝置型號類型的 DeviceHardwareCountReport (例如 Acer C7 Chromebook)。 |
cpuReports[] |
裝置 CPU 類型 (例如 Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz) 的 DeviceHardwareCountReport。 |
storageReports[] |
DeviceHardwareCountReport 的裝置儲存空間容量 (例如 128)。 |
memoryReports[] |
DeviceHardwareCountReport 的裝置記憶體容量 (例如 16)。 |
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/chrome.management.reports.readonly
DeviceHardwareCountReport
CountChromeDevicesPerHardwareSpecResponse 報表包含採用專屬硬體規格的裝置數量。
JSON 表示法 |
---|
{ "bucket": string, "count": string } |
欄位 | |
---|---|
bucket |
硬體規格的公開名稱。 |
count |
具備獨特硬體規格的裝置數量, |