Method: customers.reports.countChromeCrashEvents
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
تعداد رویدادهای خرابی Chrome را دریافت کنید.
درخواست HTTP
GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countChromeCrashEvents
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
customer | string شناسه مشتری |
پارامترهای پرس و جو
پارامترها |
---|
orgUnitId | string در صورت مشخص شدن، فقط تعداد رویدادهای خرابی دستگاهها در این واحد سازمانی را شمارش کنید. |
filter | string رشته پرس و جو برای فیلتر کردن نتایج، فیلدهای جدا شده با AND در نحو EBNF. فیلدهای فیلتر پشتیبانی شده: * major_browser_version * minor_browser_version * browserChannel * device_platform * past_number_days مثال: major_browser_version = 'M115' AND past_number_days = '28' . |
orderBy | string فیلد مورد استفاده برای سفارش نتایج. سفارش پشتیبانی شده بر اساس فیلدها: |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
Response حاوی لیستی از CrashEventCountByVersionPerDay است که خرابی کروم را در تاریخ معین محاسبه می کند.
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی داده هایی با ساختار زیر است:
فیلدها |
---|
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 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده 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. |"]]