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 * mini_browser_version * browserChannel * device_platform * bill_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)
إجمالي عدد أحداث التعطُّل
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 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. |"]]