Method: customers.reports.countChromeHardwareFleetDevices
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
คำขอ HTTP
GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countChromeHardwareFleetDevices
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
customer |
string
ต้องระบุ รหัสลูกค้าหรือ "my_customer"
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
orgUnitId |
string
ไม่บังคับ รหัสของหน่วยขององค์กร หากไม่ระบุ ระบบจะแสดงผลข้อมูลทั้งหมด
|
readMask |
string (FieldMask format)
ต้องระบุ มาสก์ของช่องที่ควรป้อนข้อมูลในรายงานที่แสดงผล ซึ่งเป็นรายการชื่อที่ตรงตามเกณฑ์ทั้งหมดของช่องที่คั่นด้วยคอมมา ตัวอย่าง: "user.displayName,photo"
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
การตอบกลับที่มีรายการอุปกรณ์ที่มีประเภทข้อมูลจำเพาะของฮาร์ดแวร์ที่เจาะจงจากประเภทฮาร์ดแวร์ที่ขอ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีข้อมูลซึ่งมีโครงสร้างดังต่อไปนี้
ช่อง |
modelReports[] |
object (DeviceHardwareCountReport )
Deviceฮาร์ดแวร์CountReport สำหรับประเภทรุ่นของอุปกรณ์ (เช่น Acer C7 Chromebook)
|
cpuReports[] |
object (DeviceHardwareCountReport )
Deviceฮาร์ดแวร์CountReport สำหรับประเภท CPU ของอุปกรณ์ (เช่น Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz)
|
storageReports[] |
object (DeviceHardwareCountReport )
Deviceฮาร์ดแวร์CountReport สำหรับปริมาณพื้นที่เก็บข้อมูลของอุปกรณ์เป็นกิกะไบต์ (เช่น 128)
|
memoryReports[] |
object (DeviceHardwareCountReport )
Deviceฮาร์ดแวร์CountReport สำหรับจำนวนหน่วยความจำของอุปกรณ์เป็นกิกะไบต์ (เช่น 16)
|
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/chrome.management.reports.readonly
DeviceHardwareCountReport
รายงานสำหรับ CountChromeDevicesPerฮาร์ดแวร์SpecResponse มีข้อมูลจำนวนของอุปกรณ์ที่มีข้อกำหนดฮาร์ดแวร์เฉพาะ
การแสดง JSON |
{
"bucket": string,
"count": string
} |
ช่อง |
bucket |
string
ชื่อสาธารณะของข้อกำหนดฮาร์ดแวร์
|
count |
string (int64 format)
จำนวนอุปกรณ์ที่มีข้อกำหนดฮาร์ดแวร์เฉพาะ
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eCounts devices based on hardware specifications like model, CPU, storage, and memory.\u003c/p\u003e\n"],["\u003cp\u003eRequires \u003ccode\u003eGET\u003c/code\u003e request to the specified endpoint with \u003ccode\u003ecustomer\u003c/code\u003e, \u003ccode\u003eorgUnitId\u003c/code\u003e, and \u003ccode\u003ereadMask\u003c/code\u003e parameters.\u003c/p\u003e\n"],["\u003cp\u003eResponse includes hardware reports categorized by model, CPU, storage, and memory, each with a bucket and device count.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes the \u003ccode\u003echrome.management.reports.readonly\u003c/code\u003e authorization scope for access.\u003c/p\u003e\n"],["\u003cp\u003eProvides further information via a support link regarding hardware specification details.\u003c/p\u003e\n"]]],[],null,["# Method: customers.reports.countChromeHardwareFleetDevices\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.CountChromeHardwareFleetDevicesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [DeviceHardwareCountReport](#DeviceHardwareCountReport)\n - [JSON representation](#DeviceHardwareCountReport.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nCounts of devices with a specific hardware specification from the requested hardware type (for example model name, processor type). Further information can be found here \u003chttps://support.google.com/chrome/a/answer/10564947\u003e\n\n### HTTP request\n\n`GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countChromeHardwareFleetDevices`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------|------------------------------------------------------|\n| `customer` | `string` Required. The customer ID or \"my_customer\". |\n\n### Query parameters\n\n| Parameters ||\n|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `orgUnitId` | `string` Optional. The ID of the organizational unit. If omitted, all data will be returned. |\n| `readMask` | `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` Required. Mask of the fields that should be populated in the returned report. This is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse containing a list of devices with a specific type of hardware specification from the requested hardware type.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"modelReports\": [ { object (/chrome/management/reference/rest/v1/customers.reports/countChromeHardwareFleetDevices#DeviceHardwareCountReport) } ], \"cpuReports\": [ { object (/chrome/management/reference/rest/v1/customers.reports/countChromeHardwareFleetDevices#DeviceHardwareCountReport) } ], \"storageReports\": [ { object (/chrome/management/reference/rest/v1/customers.reports/countChromeHardwareFleetDevices#DeviceHardwareCountReport) } ], \"memoryReports\": [ { object (/chrome/management/reference/rest/v1/customers.reports/countChromeHardwareFleetDevices#DeviceHardwareCountReport) } ] } ``` |\n\n| Fields ||\n|--------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `modelReports[]` | `object (`[DeviceHardwareCountReport](/chrome/management/reference/rest/v1/customers.reports/countChromeHardwareFleetDevices#DeviceHardwareCountReport)`)` The DeviceHardwareCountReport for device model type (for example Acer C7 Chromebook). |\n| `cpuReports[]` | `object (`[DeviceHardwareCountReport](/chrome/management/reference/rest/v1/customers.reports/countChromeHardwareFleetDevices#DeviceHardwareCountReport)`)` The DeviceHardwareCountReport for device cpu type (for example Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz). |\n| `storageReports[]` | `object (`[DeviceHardwareCountReport](/chrome/management/reference/rest/v1/customers.reports/countChromeHardwareFleetDevices#DeviceHardwareCountReport)`)` The DeviceHardwareCountReport for device storage amount in gigabytes (for example 128). |\n| `memoryReports[]` | `object (`[DeviceHardwareCountReport](/chrome/management/reference/rest/v1/customers.reports/countChromeHardwareFleetDevices#DeviceHardwareCountReport)`)` The DeviceHardwareCountReport for device memory amount in gigabytes (for example 16). |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/chrome.management.reports.readonly`\n\nDeviceHardwareCountReport\n-------------------------\n\nReport for CountChromeDevicesPerHardwareSpecResponse, contains the count of devices with a unique hardware specification.\n\n| JSON representation |\n|-----------------------------------------------|\n| ``` { \"bucket\": string, \"count\": string } ``` |\n\n| Fields ||\n|----------|--------------------------------------------------------------------------------------------------------------------------------------------|\n| `bucket` | `string` Public name of the hardware specification. |\n| `count` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Count of devices with a unique hardware specification. |"]]