Method: customers.reports.countChromeHardwareFleetDevices

具有所请求硬件类型(例如型号名称、处理器类型)中具有特定硬件规格的设备的数量。如需了解详情,请访问:https://support.google.com/chrome/a/answer/10564947

HTTP 请求

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

网址采用 gRPC 转码语法。

路径参数

参数
customer

string

必需。客户 ID 或“my_customer”。

查询参数

参数
orgUnitId

string

可选。组织部门的 ID。如果省略,将返回所有数据。

readMask

string (FieldMask format)

必需。应在返回的报告中填充的字段的掩码。

这是以英文逗号分隔的完全限定字段名称列表。示例:"user.displayName,photo"

请求正文

请求正文必须为空。

响应正文

包含一系列设备的响应,这些设备具有所请求硬件类型中特定类型的硬件规格。

如果成功,响应正文将包含结构如下的数据:

JSON 表示法
{
  "modelReports": [
    {
      object (DeviceHardwareCountReport)
    }
  ],
  "cpuReports": [
    {
      object (DeviceHardwareCountReport)
    }
  ],
  "storageReports": [
    {
      object (DeviceHardwareCountReport)
    }
  ],
  "memoryReports": [
    {
      object (DeviceHardwareCountReport)
    }
  ]
}
字段
modelReports[]

object (DeviceHardwareCountReport)

设备型号类型(例如 Acer C7 Chromebook)的 DeviceHardwareCountReport。

cpuReports[]

object (DeviceHardwareCountReport)

设备 CPU 类型(例如 Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz)的 DeviceHardwareCountReport。

storageReports[]

object (DeviceHardwareCountReport)

DeviceHardwareCountReport 的设备存储空间量,以 GB 为单位(例如 128)。

memoryReports[]

object (DeviceHardwareCountReport)

DeviceHardwareCountReport 的设备内存量,以 GB 为单位(例如 16)。

授权范围

需要以下 OAuth 作用域:

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

DeviceHardwareCountReport

CountChromeDevicesPerHardwareSpecResponse 的报告包含具有唯一硬件规格的设备的数量。

JSON 表示法
{
  "bucket": string,
  "count": string
}
字段
bucket

string

硬件规范的公开名称。

count

string (int64 format)

具有唯一硬件规格的设备数量。