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)

等待操作系统更新的设备数量。

osVersionNotCompliantCount

string (int64 format)

操作系统版本不符合要求的设备数量。

unsupportedPolicyCount

string (int64 format)

由于操作系统版本不匹配而无法应用政策的设备数量。

授权范围

需要以下 OAuth 作用域:

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