Method: customers.reports.countPrintJobsByUser
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
हर उपयोगकर्ता की प्रिंट की हुई जानकारी के बारे में खास जानकारी पाएं.
एचटीटीपी अनुरोध
GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countPrintJobsByUser
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
पैरामीटर |
customer |
string
ज़रूरी है. ग्राहक आईडी के पहले "ग्राहक/" लिखा होना चाहिए या "ग्राहक/my_customer" अनुरोध करने वाले खाते से जुड़े ग्राहक का इस्तेमाल करें.
|
क्वेरी पैरामीटर
पैरामीटर |
printerOrgUnitId |
string
प्रिंटर के लिए संगठन की इकाई का आईडी. अगर बताया गया है, तो सिर्फ़ खास संगठन की इकाई के प्रिंटर से शुरू किए गए प्रिंट जॉब को गिना जाएगा. अगर आप इसे छोड़ देते हैं, तो सभी प्रिंट जॉब गिने जाएंगे.
|
pageSize |
integer
दिए जाने वाले नतीजों की ज़्यादा से ज़्यादा संख्या. ज़्यादा से ज़्यादा और डिफ़ॉल्ट वैल्यू 100 हैं.
|
pageToken |
string
लौटाए जाने वाले जवाब के पेज को बताने वाला टोकन.
|
filter |
string
नतीजों को फ़िल्टर करने के लिए क्वेरी स्ट्रिंग, EBNF सिंटैक्स में AND से अलग किए गए फ़ील्ड. ध्यान दें: इस फ़िल्टर में OR ऑपरेशन काम नहीं करते. ध्यान दें: इस फ़िल्टर में सिर्फ़ >= और <= तुलना करने वाले काम करते हैं. इस्तेमाल किए जा सकने वाले फ़िल्टर फ़ील्ड:
|
orderBy |
string
नतीजों को क्रम से लगाने के लिए इस्तेमाल किया गया फ़ील्ड. अगर इसे छोड़ा जाता है, तो नतीजे 'userEmail' के बढ़ते क्रम में दिए जाएंगे फ़ील्ड में डालें. ऑर्डर किए जा सकने वाले फ़ील्ड:
- userEmail
- jobCount
- printerCount
- deviceCount
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
जवाब में हर उस उपयोगकर्ता के लिए खास जानकारी वाली प्रिंटिंग रिपोर्ट शामिल होती है जिसने अनुरोध किए गए समय अंतराल के दौरान, संगठन की तय की गई इकाई के प्रिंटर से प्रिंट जॉब शुरू किया है.
अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.
JSON के काेड में दिखाना |
{
"userPrintReports": [
{
object (UserPrintReport )
}
],
"nextPageToken": string,
"totalSize": string
} |
फ़ील्ड |
userPrintReports[] |
object (UserPrintReport )
UserPrintरिपोर्ट मिलान के अनुरोध की सूची.
|
nextPageToken |
string
अगले पेज का अनुरोध करने के लिए, पेज पर नंबर डालने का टोकन.
|
totalSize |
string (int64 format)
अनुरोध से मेल खाने वाले उपयोगकर्ताओं की कुल संख्या.
|
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/chrome.management.reports.readonly
UserPrintReport
report.countPrintNotesByUser की रिपोर्ट में, उपयोगकर्ता के प्रिंट करने के आंकड़े मौजूद हैं. इसमें प्रिंटर की संख्या, प्रिंट जॉब शुरू करने के लिए इस्तेमाल किए गए डिवाइसों की संख्या, और शुरू किए गए प्रिंट जॉब की संख्या शामिल होती है.
JSON के काेड में दिखाना |
{
"userId": string,
"userEmail": string,
"jobCount": string,
"printerCount": string,
"deviceCount": string
} |
फ़ील्ड |
userId |
string
उपयोगकर्ता का यूनीक डायरेक्ट्री एपीआई आईडी.
|
userEmail |
string
उपयोगकर्ता का मुख्य ईमेल पता.
|
jobCount |
string (int64 format)
उपयोगकर्ता ने जो प्रिंट जॉब शुरू किए हैं उनकी संख्या.
|
printerCount |
string (int64 format)
उपयोगकर्ता के इस्तेमाल किए गए प्रिंटर की संख्या.
|
deviceCount |
string (int64 format)
उन Chrome डिवाइसों की संख्या जिनका इस्तेमाल, उपयोगकर्ता ने प्रिंट जॉब शुरू करने के लिए किया.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को 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\u003eRetrieve a summary of printing activity by user, including the number of print jobs, printers, and devices used.\u003c/p\u003e\n"],["\u003cp\u003eFilter results by organizational unit, date, and other criteria using query parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes a list of UserPrintReports, each containing user-specific printing statistics.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ehttps://www.googleapis.com/auth/chrome.management.reports.readonly\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],[],null,["# Method: customers.reports.countPrintJobsByUser\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.CountPrintJobsByUserResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [UserPrintReport](#UserPrintReport)\n - [JSON representation](#UserPrintReport.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nGet a summary of printing done by each user.\n\n### HTTP request\n\n`GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countPrintJobsByUser`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `customer` | `string` Required. Customer ID prefixed with \"customers/\" or \"customers/my_customer\" to use the customer associated to the account making the request. |\n\n### Query parameters\n\n| Parameters ||\n|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `printerOrgUnitId` | `string` The ID of the organizational unit for printers. If specified, only print jobs initiated with printers from the specified organizational unit will be counted. If omitted, all print jobs will be counted. |\n| `pageSize` | `integer` Maximum number of results to return. Maximum and default are 100. |\n| `pageToken` | `string` Token to specify the page of the response to be returned. |\n| `filter` | `string` Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Note: Only \\\u003e= and \\\u003c= comparators are supported in this filter. Supported filter fields: - completeTime |\n| `orderBy` | `string` Field used to order results. If omitted, results will be ordered in ascending order of the 'userEmail' field. Supported orderBy fields: - userEmail - jobCount - printerCount - deviceCount |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse containing a summary printing report for each user that has initiated a print job with a printer from the specified organizational unit during the requested time interval.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"userPrintReports\": [ { object (/chrome/management/reference/rest/v1/customers.reports/countPrintJobsByUser#UserPrintReport) } ], \"nextPageToken\": string, \"totalSize\": string } ``` |\n\n| Fields ||\n|----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `userPrintReports[]` | `object (`[UserPrintReport](/chrome/management/reference/rest/v1/customers.reports/countPrintJobsByUser#UserPrintReport)`)` List of UserPrintReports matching request. |\n| `nextPageToken` | `string` Pagination token for requesting the next page. |\n| `totalSize` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Total number of users matching request. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/chrome.management.reports.readonly`\n\nUserPrintReport\n---------------\n\nReport for reports.countPrintJobsByUser, contains printing statistics for a user. Contains the number of printers, the number of devices used to initiate print jobs, and the number of print jobs initiated.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------|\n| ``` { \"userId\": string, \"userEmail\": string, \"jobCount\": string, \"printerCount\": string, \"deviceCount\": string } ``` |\n\n| Fields ||\n|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `userId` | `string` The unique Directory API ID of the user. |\n| `userEmail` | `string` The primary e-mail address of the user. |\n| `jobCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Number of print jobs initiated by the user. |\n| `printerCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Number of printers used by the user. |\n| `deviceCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Number of chrome devices that have been used to initiate print jobs by the user. |"]]