Method: customers.reports.countChromeCrashEvents
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
HTTP 要求
GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countChromeCrashEvents
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
customer |
string
客戶 ID。
|
查詢參數
參數 |
orgUnitId |
string
如有指定,系統只會計算這個機構單位中裝置的當機事件數。
|
filter |
string
篩選結果的查詢字串,以及採用 EBNF 語法的「AND」分隔欄位。支援的篩選器欄位:* main_browser_version * small_browser_version * browserChannel * device_platform * last_number_days 範例:major_browser_version = 'M115' AND past_number_days = '28' 。
|
orderBy |
string
用來排序結果的欄位。 支援的欄位順序:
|
回應主體
回應內含的 CrashEventCountByVersionPerDay 清單,可用於計算特定日期的 Chrome 當機次數。
如果成功,回應主體會含有以下結構的資料:
欄位 |
crashEventCounts[] |
object (CrashEventCount )
當機事件數量,分組依據為日期和瀏覽器版本。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/chrome.management.reports.readonly
CrashEventCount
date
發生 Chrome 當機事件的 count
。
JSON 表示法 |
{
"date": {
object (Date )
},
"browserVersion": string,
"count": string
} |
欄位 |
date |
object (Date )
當機事件的日期。
|
browserVersion |
string
計數使用的瀏覽器版本。
|
count |
string (int64 format)
當機事件總數。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\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. |"]]