Method: customers.reports.countChromeCrashEvents
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ดูจำนวนเหตุการณ์ข้อขัดข้องใน Chrome
คำขอ HTTP
GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countChromeCrashEvents
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
customer |
string
รหัสลูกค้า
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
orgUnitId |
string
หากระบุไว้ ให้นับเฉพาะจำนวนเหตุการณ์ข้อขัดข้องของอุปกรณ์ในหน่วยขององค์กรนี้
|
filter |
string
สตริงการค้นหาเพื่อกรองผลลัพธ์ ฟิลด์ที่คั่นด้วย AND ในไวยากรณ์ EBNF ฟิลด์ตัวกรองที่รองรับ: * Major_browser_version * main_browser_version * browserChannel * device_platform * last_number_days ตัวอย่าง: major_browser_version = 'M115' AND past_number_days = '28'
|
orderBy |
string
ฟิลด์ที่ใช้เรียงลำดับผลลัพธ์ ลำดับที่รองรับตามฟิลด์:
- browserVersion
- จำนวน
- วันที่
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
การตอบกลับจะมีรายการ CrashEventCountByVersionPerDay ซึ่งนับการขัดข้องของ Chrome ในวันที่ที่ระบุ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีข้อมูลซึ่งมีโครงสร้างดังต่อไปนี้
ช่อง |
crashEventCounts[] |
object (CrashEventCount )
จำนวนเหตุการณ์ข้อขัดข้องที่จัดกลุ่มตามวันที่และเวอร์ชันของเบราว์เซอร์
|
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/chrome.management.reports.readonly
CrashEventCount
count
ของเหตุการณ์ข้อขัดข้องของ Chrome ที่ date
การแสดง JSON |
{
"date": {
object (Date )
},
"browserVersion": string,
"count": string
} |
ช่อง |
date |
object (Date )
วันที่เกิดเหตุการณ์ข้อขัดข้อง
|
browserVersion |
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\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. |"]]