Method: customers.reports.countChromeCrashEvents
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Xem số liệu về sự cố trên Chrome.
Yêu cầu HTTP
GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countChromeCrashEvents
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Tham số |
customer |
string
Mã khách hàng.
|
Tham số truy vấn
Tham số |
orgUnitId |
string
Nếu đã chỉ định, chỉ đếm số lượng sự cố của các thiết bị trong đơn vị tổ chức này.
|
filter |
string
Chuỗi truy vấn để lọc kết quả, các trường được phân tách bằng dấu AND bằng cú pháp EBNF. Các trường bộ lọc được hỗ trợ: * large_browser_version * secondary_browser_version * browserChannel * device_platform * xóa_number_days Ví dụ: major_browser_version = 'M115' AND past_number_days = '28' .
|
orderBy |
string
Trường được dùng để sắp xếp kết quả. Sắp xếp thứ tự theo trường được hỗ trợ:
- browserVersion
- số lượng
- date
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Phản hồi chứa danh sách CrashEventCountByVersionPerDay ghi nhận sự cố Chrome vào một ngày nhất định.
Nếu thành công, phần nội dung phản hồi sẽ chứa dữ liệu có cấu trúc sau:
Biểu diễn dưới dạng JSON |
{
"crashEventCounts": [
{
object (CrashEventCount )
}
]
} |
Trường |
crashEventCounts[] |
object (CrashEventCount )
Số sự kiện sự cố được nhóm theo ngày và phiên bản trình duyệt.
|
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/chrome.management.reports.readonly
CrashEventCount
count
của các sự kiện lỗi trên Chrome tại date
.
Biểu diễn dưới dạng JSON |
{
"date": {
object (Date )
},
"browserVersion": string,
"count": string
} |
Trường |
date |
object (Date )
Ngày xảy ra sự cố.
|
browserVersion |
string
Phiên bản trình duyệt đang được tính.
|
count |
string (int64 format)
Tổng số sự cố.
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eRetrieve a count of Chrome crash events within a specified customer's organization, optionally filtered by organizational unit, browser characteristics, and date range.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes crash event counts grouped by date and browser version, with the data presented in a structured JSON format.\u003c/p\u003e\n"],["\u003cp\u003eThe API request requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/chrome.management.reports.readonly\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eCrash event counts can be further broken down by specific browser version and date.\u003c/p\u003e\n"]]],[],null,["# Method: customers.reports.countChromeCrashEvents\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.CountChromeCrashEventsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [CrashEventCount](#CrashEventCount)\n - [JSON representation](#CrashEventCount.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nGet a count of Chrome crash events.\n\n### HTTP request\n\n`GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countChromeCrashEvents`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------|-----------------------|\n| `customer` | `string` Customer ID. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `orgUnitId` | `string` If specified, only count the number of crash events of the devices in this organizational unit. |\n| `filter` | `string` Query string to filter results, AND-separated fields in EBNF syntax. Supported filter fields: \\* major_browser_version \\* minor_browser_version \\* browserChannel \\* device_platform \\* past_number_days Example: `major_browser_version = 'M115' AND past_number_days = '28'`. |\n| `orderBy` | `string` Field used to order results. Supported order by fields: - browserVersion - count - date |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse contains a list of CrashEventCountByVersionPerDay which count the chrome crash at the certain date.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"crashEventCounts\": [ { object (/chrome/management/reference/rest/v1/customers.reports/countChromeCrashEvents#CrashEventCount) } ] } ``` |\n\n| Fields ||\n|----------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `crashEventCounts[]` | `object (`[CrashEventCount](/chrome/management/reference/rest/v1/customers.reports/countChromeCrashEvents#CrashEventCount)`)` Crash event counts grouped by date and browser version. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/chrome.management.reports.readonly`\n\nCrashEventCount\n---------------\n\nThe `count` of the Chrome crash events at the `date`.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"date\": { object (/chrome/management/reference/rest/Shared.Types/Date) }, \"browserVersion\": string, \"count\": string } ``` |\n\n| Fields ||\n|------------------|------------------------------------------------------------------------------------------------------------------|\n| `date` | `object (`[Date](/chrome/management/reference/rest/Shared.Types/Date)`)` Date of the crash event. |\n| `browserVersion` | `string` Browser version this is counting. |\n| `count` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Total count of crash events. |"]]