Method: customers.reports.countChromeVersions
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สร้างรายงานเวอร์ชัน Chrome ที่ติดตั้ง
คำขอ HTTP
GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countChromeVersions
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
customer |
string
ต้องระบุ รหัสลูกค้าหรือ "my_customer" ให้ใช้ลูกค้าที่เชื่อมโยงกับบัญชีที่ส่งคำขอ
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
orgUnitId |
string
รหัสของหน่วยขององค์กร
|
pageSize |
integer
จำนวนผลลัพธ์สูงสุดที่จะแสดง ค่าสูงสุดและค่าเริ่มต้นคือ 100
|
pageToken |
string
โทเค็นสำหรับระบุหน้าของคำขอที่จะแสดงผล
|
filter |
string
สตริงการค้นหาเพื่อกรองผลลัพธ์ ฟิลด์ที่คั่นด้วย AND ในไวยากรณ์ EBNF หมายเหตุ: ตัวกรองนี้ไม่รองรับการดำเนินการ "OR" ช่องตัวกรองที่รองรับ:
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
คำตอบที่มีรายละเอียดและจำนวนเวอร์ชันของเบราว์เซอร์ที่ขอ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีข้อมูลซึ่งมีโครงสร้างดังต่อไปนี้
การแสดง JSON |
{
"browserVersions": [
{
object (BrowserVersion )
}
],
"nextPageToken": string,
"totalSize": integer
} |
ช่อง |
browserVersions[] |
object (BrowserVersion )
รายการเวอร์ชันทั้งหมดของเบราว์เซอร์และจำนวนการติดตั้ง
|
nextPageToken |
string
โทเค็นเพื่อระบุหน้าถัดไปของคำขอ
|
totalSize |
integer
จำนวนรวมของเวอร์ชันเบราว์เซอร์ที่ตรงกับคำขอ
|
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/chrome.management.reports.readonly
BrowserVersion
อธิบายเวอร์ชันของเบราว์เซอร์และจำนวนการติดตั้ง
การแสดง JSON |
{
"version": string,
"count": string,
"channel": enum (ReleaseChannel ),
"system": enum (DeviceSystem ),
"deviceOsVersion": string
} |
ช่อง |
version |
string
เอาต์พุตเท่านั้น เบราว์เซอร์ที่ติดตั้งในเวอร์ชันเต็ม
|
count |
string (int64 format)
เอาต์พุตเท่านั้น จำนวนที่จัดกลุ่มตาม device_system และเวอร์ชันหลัก
|
channel |
enum (ReleaseChannel )
เอาต์พุตเท่านั้น เวอร์ชันการเผยแพร่ของเบราว์เซอร์ที่ติดตั้ง
|
system |
enum (DeviceSystem )
เอาต์พุตเท่านั้น ระบบปฏิบัติการของอุปกรณ์
|
deviceOsVersion |
string
เอาต์พุตเท่านั้น เวอร์ชันของระบบปฏิบัติการที่ระบุโดยระบบ
|
ReleaseChannel
เวอร์ชันการเผยแพร่ของเบราว์เซอร์ที่ติดตั้ง
Enum |
RELEASE_CHANNEL_UNSPECIFIED |
ไม่ได้ระบุเวอร์ชันการเผยแพร่ |
CANARY |
เวอร์ชันการเผยแพร่เวอร์ชัน Canary |
DEV |
เวอร์ชันการเผยแพร่เวอร์ชันที่กำลังพัฒนา |
BETA |
เวอร์ชันการเผยแพร่เบต้า |
STABLE |
เวอร์ชันการเผยแพร่ที่เสถียร |
DeviceSystem
Enum |
DEVICE_SYSTEM_UNSPECIFIED |
ไม่ได้ระบุระบบปฏิบัติการ |
SYSTEM_OTHER |
ระบบปฏิบัติการอื่น |
SYSTEM_ANDROID |
ระบบปฏิบัติการ Android |
SYSTEM_IOS |
ระบบปฏิบัติการ Apple iOS |
SYSTEM_CROS |
ระบบปฏิบัติการ ChromeOS |
SYSTEM_WINDOWS |
ระบบปฏิบัติการ Microsoft Windows |
SYSTEM_MAC |
ระบบปฏิบัติการ Apple macOS |
SYSTEM_LINUX |
ระบบปฏิบัติการ Linux |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eGenerate a report of installed Chrome versions across a customer's organization, grouped by browser version, release channel, and operating system.\u003c/p\u003e\n"],["\u003cp\u003eFilter results by organizational unit and last active date using query parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes the browser version, install count, release channel, operating system, and system version for each entry.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ehttps://www.googleapis.com/auth/chrome.management.reports.readonly\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"],["\u003cp\u003eUse the provided HTTP request to retrieve the report data.\u003c/p\u003e\n"]]],[],null,["# Method: customers.reports.countChromeVersions\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.CountChromeVersionsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [BrowserVersion](#BrowserVersion)\n - [JSON representation](#BrowserVersion.SCHEMA_REPRESENTATION)\n- [ReleaseChannel](#ReleaseChannel)\n- [DeviceSystem](#DeviceSystem)\n- [Try it!](#try-it)\n\nGenerate report of installed Chrome versions.\n\n### HTTP request\n\n`GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countChromeVersions`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------|-------------------------------------------------------------------------------------------------------------------|\n| `customer` | `string` Required. Customer id or \"my_customer\" to use the customer associated to the account making the request. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `orgUnitId` | `string` The ID of the organizational unit. |\n| `pageSize` | `integer` Maximum number of results to return. Maximum and default are 100. |\n| `pageToken` | `string` Token to specify the page of the request to be returned. |\n| `filter` | `string` Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: - last_active_date |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse containing requested browser versions details and counts.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"browserVersions\": [ { object (/chrome/management/reference/rest/v1/customers.reports/countChromeVersions#BrowserVersion) } ], \"nextPageToken\": string, \"totalSize\": integer } ``` |\n\n| Fields ||\n|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `browserVersions[]` | `object (`[BrowserVersion](/chrome/management/reference/rest/v1/customers.reports/countChromeVersions#BrowserVersion)`)` List of all browser versions and their install counts. |\n| `nextPageToken` | `string` Token to specify the next page of the request. |\n| `totalSize` | `integer` Total number browser versions matching request. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/chrome.management.reports.readonly`\n\nBrowserVersion\n--------------\n\nDescribes a browser version and its install count.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"version\": string, \"count\": string, \"channel\": enum (/chrome/management/reference/rest/v1/customers.reports/countChromeVersions#ReleaseChannel), \"system\": enum (/chrome/management/reference/rest/v1/customers.reports/countChromeVersions#DeviceSystem), \"deviceOsVersion\": string } ``` |\n\n| Fields ||\n|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `version` | `string` Output only. The full version of the installed browser. |\n| `count` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. Count grouped by device_system and major version |\n| `channel` | `enum (`[ReleaseChannel](/chrome/management/reference/rest/v1/customers.reports/countChromeVersions#ReleaseChannel)`)` Output only. The release channel of the installed browser. |\n| `system` | `enum (`[DeviceSystem](/chrome/management/reference/rest/v1/customers.reports/countChromeVersions#DeviceSystem)`)` Output only. The device operating system. |\n| `deviceOsVersion` | `string` Output only. Version of the system-specified operating system. |\n\nReleaseChannel\n--------------\n\nThe release channel of the installed browser.\n\n| Enums ||\n|-------------------------------|-------------------------------|\n| `RELEASE_CHANNEL_UNSPECIFIED` | No release channel specified. |\n| `CANARY` | Canary release channel. |\n| `DEV` | Dev release channel. |\n| `BETA` | Beta release channel. |\n| `STABLE` | Stable release channel. |\n\nDeviceSystem\n------------\n\nThe device operating system.\n\n| Enums ||\n|-----------------------------|-------------------------------------|\n| `DEVICE_SYSTEM_UNSPECIFIED` | No operating system specified. |\n| `SYSTEM_OTHER` | Other operating system. |\n| `SYSTEM_ANDROID` | Android operating system. |\n| `SYSTEM_IOS` | Apple iOS operating system. |\n| `SYSTEM_CROS` | ChromeOS operating system. |\n| `SYSTEM_WINDOWS` | Microsoft Windows operating system. |\n| `SYSTEM_MAC` | Apple macOS operating system. |\n| `SYSTEM_LINUX` | Linux operating system. |"]]