Method: customers.reports.countChromeDevicesThatNeedAttention

過去 28 天內未同步處理政策、或是沒有任何使用者活動、過時或未申訴的 ChromeOS 裝置數量。詳情請參閱:https://support.google.com/chrome/a/answer/10564947

HTTP 要求

GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countChromeDevicesThatNeedAttention

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
customer

string

必要欄位。客戶 ID 或「my_customer」開頭為「customers/」。

查詢參數

參數
orgUnitId

string

選用設定。機構單位的 ID。如果省略此引數,系統會傳回所有資料。

readMask

string (FieldMask format)

必要欄位。應填入傳回的報表中的欄位遮罩。

這是以半形逗號分隔的完整欄位名稱清單。範例:"user.displayName,photo"

要求主體

要求主體必須為空白。

回應主體

回應包含需要處理的裝置數量。

如果成功,回應主體會含有以下結構的資料:

JSON 表示法
{
  "noRecentPolicySyncCount": string,
  "noRecentUserActivityCount": string,
  "pendingUpdate": string,
  "osVersionNotCompliantCount": string,
  "unsupportedPolicyCount": string
}
欄位
noRecentPolicySyncCount

string (int64 format)

過去 28 天內未同步處理政策的 ChromeOS 裝置數量。

noRecentUserActivityCount

string (int64 format)

過去 28 天內從未出現任何使用者活動的 ChromeOS 裝置數量。

pendingUpdate

string (int64 format)

尚待 OS 更新的裝置數量。

osVersionNotCompliantCount

string (int64 format)

OS 版本不符合規定的裝置數量。

unsupportedPolicyCount

string (int64 format)

因為 OS 版本不符而無法套用政策的裝置數量。

授權範圍

需要下列 OAuth 範圍:

  • https://www.googleapis.com/auth/chrome.management.reports.readonly