Method: customers.reports.countChromeDevicesThatNeedAttention
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ऐसे ChromeOS डिवाइसों की संख्या जिन पर नीतियां सिंक नहीं की गई हैं या जिनमें पिछले 28 दिनों में कोई उपयोगकर्ता गतिविधि नहीं हुई है, जो पुराने हैं या जिनमें शिकायत नहीं की गई है. ज़्यादा जानकारी के लिए यहां जाएं: https://support.google.com/chrome/a/answer/10564947
एचटीटीपी अनुरोध
GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countChromeDevicesThatNeedAttention
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
पैरामीटर |
customer |
string
ज़रूरी है. ग्राहक आईडी या "my_customer" इससे पहले "customers/" जुड़ा होना चाहिए.
|
क्वेरी पैरामीटर
पैरामीटर |
orgUnitId |
string
ज़रूरी नहीं. संगठन की इकाई का आईडी. अगर इसे छोड़ दिया जाता है, तो पूरा डेटा लौटा दिया जाएगा.
|
readMask |
string (FieldMask format)
ज़रूरी है. उन फ़ील्ड का मास्क जिन्हें दी गई रिपोर्ट में भरा जाना चाहिए. यह फ़ील्ड के पूरी तरह क्वालिफ़ाइड नाम की सूची है, जिसे कॉमा लगाकर अलग किया गया है. उदाहरण: "user.displayName,photo" .
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
जवाब में उन डिवाइसों की संख्या शामिल है जिन पर ध्यान देने की ज़रूरत है.
अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.
JSON के काेड में दिखाना |
{
"noRecentPolicySyncCount": string,
"noRecentUserActivityCount": string,
"pendingUpdate": string,
"osVersionNotCompliantCount": string,
"unsupportedPolicyCount": string
} |
फ़ील्ड |
noRecentPolicySyncCount |
string (int64 format)
पिछले 28 दिनों में, ChromeOS डिवाइसों से जुड़ी नीतियों को सिंक नहीं किया गया. ऐसे डिवाइसों की संख्या.
|
noRecentUserActivityCount |
string (int64 format)
उन ChromeOS डिवाइसों की संख्या जिन पर पिछले 28 दिनों में कोई उपयोगकर्ता गतिविधि नहीं देखी गई.
|
pendingUpdate |
string (int64 format)
उन डिवाइसों की संख्या जिनका ओएस अपडेट होना बाकी है.
|
osVersionNotCompliantCount |
string (int64 format)
उन डिवाइसों की संख्या जिनका ओएस वर्शन, नीतियों के मुताबिक नहीं है.
|
unsupportedPolicyCount |
string (int64 format)
उन डिवाइसों की संख्या जिन पर ओएस वर्शन के मेल न खाने की वजह से, नीति लागू नहीं की जा सकती.
|
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/chrome.management.reports.readonly
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eCounts ChromeOS devices that need attention, such as those with outdated OS, lacking recent policy sync or user activity.\u003c/p\u003e\n"],["\u003cp\u003eProvides device counts based on criteria like no recent policy sync, user activity, pending updates, OS version compliance, and unsupported policies.\u003c/p\u003e\n"],["\u003cp\u003eUses an HTTP GET request with specific path and query parameters to retrieve the device counts.\u003c/p\u003e\n"],["\u003cp\u003eRequires \u003ccode\u003ehttps://www.googleapis.com/auth/chrome.management.reports.readonly\u003c/code\u003e authorization scope for access.\u003c/p\u003e\n"],["\u003cp\u003eReturns counts as a JSON response with fields detailing the number of devices for each category.\u003c/p\u003e\n"]]],[],null,["# Method: customers.reports.countChromeDevicesThatNeedAttention\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.CountChromeDevicesThatNeedAttentionResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCounts of ChromeOS devices that have not synced policies or have lacked user activity in the past 28 days, are out of date, or are not complaint. Further information can be found here \u003chttps://support.google.com/chrome/a/answer/10564947\u003e\n\n### HTTP request\n\n`GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countChromeDevicesThatNeedAttention`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------|---------------------------------------------------------------------------------|\n| `customer` | `string` Required. The customer ID or \"my_customer\" prefixed with \"customers/\". |\n\n### Query parameters\n\n| Parameters ||\n|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `orgUnitId` | `string` Optional. The ID of the organizational unit. If omitted, all data will be returned. |\n| `readMask` | `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` Required. Mask of the fields that should be populated in the returned report. This is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse containing counts for devices that need attention.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"noRecentPolicySyncCount\": string, \"noRecentUserActivityCount\": string, \"pendingUpdate\": string, \"osVersionNotCompliantCount\": string, \"unsupportedPolicyCount\": string } ``` |\n\n| Fields ||\n|------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `noRecentPolicySyncCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Number of ChromeOS devices have not synced policies in the past 28 days. |\n| `noRecentUserActivityCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Number of ChromeOS devices that have not seen any user activity in the past 28 days. |\n| `pendingUpdate` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Number of devices that are pending an OS update. |\n| `osVersionNotCompliantCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Number of devices whose OS version is not compliant. |\n| `unsupportedPolicyCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Number of devices that are unable to apply a policy due to an OS version mismatch. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/chrome.management.reports.readonly`"]]