Method: customers.reports.countPrintJobsByPrinter
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
हर प्रिंटर से की गई प्रिंट की जानकारी के बारे में खास जानकारी पाएं.
एचटीटीपी अनुरोध
GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countPrintJobsByPrinter
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
पैरामीटर |
customer |
string
ज़रूरी है. ग्राहक आईडी के पहले "ग्राहक/" लिखा होना चाहिए या "ग्राहक/my_customer" अनुरोध करने वाले खाते से जुड़े ग्राहक का इस्तेमाल करें.
|
क्वेरी पैरामीटर
पैरामीटर |
printerOrgUnitId |
string
प्रिंटर के लिए संगठन की इकाई का आईडी. अगर तय किया गया है, तो सिर्फ़ बताई गई संगठन की इकाई के प्रिंटर का डेटा दिया जाएगा. अगर मिटाया जाता है, तो संगठन की सभी इकाइयों के प्रिंटर का डेटा दिखाया जाएगा.
|
pageSize |
integer
दिए जाने वाले नतीजों की ज़्यादा से ज़्यादा संख्या. ज़्यादा से ज़्यादा और डिफ़ॉल्ट वैल्यू 100 हैं.
|
pageToken |
string
लौटाए जाने वाले जवाब के पेज को बताने वाला टोकन.
|
filter |
string
नतीजों को फ़िल्टर करने के लिए क्वेरी स्ट्रिंग, EBNF सिंटैक्स में AND से अलग किए गए फ़ील्ड. ध्यान दें: इस फ़िल्टर में OR ऑपरेशन काम नहीं करते. ध्यान दें: इस फ़िल्टर में सिर्फ़ >= और <= तुलना करने वाले काम करते हैं. इस्तेमाल किए जा सकने वाले फ़िल्टर फ़ील्ड:
|
orderBy |
string
नतीजों को क्रम से लगाने के लिए इस्तेमाल किया गया फ़ील्ड. अगर फ़िल्टर को हटाया जाता है, तो नतीजों को 'प्रिंटर' के बढ़ते क्रम में क्रम से लगाया जाएगा फ़ील्ड में डालें. ऑर्डर किए जा सकने वाले फ़ील्ड:
- प्रिंटर
- jobCount
- deviceCount
- userCount
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
इस जवाब में, संगठन की किसी खास इकाई से मिले हर प्रिंटर की खास जानकारी वाली प्रिंटिंग रिपोर्ट होती है. यह रिपोर्ट, अनुरोध किए गए समय अंतराल के लिए होती है.
अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.
JSON के काेड में दिखाना |
{
"printerReports": [
{
object (PrinterReport )
}
],
"nextPageToken": string,
"totalSize": string
} |
फ़ील्ड |
printerReports[] |
object (PrinterReport )
प्रिंटर रिपोर्ट से मिलते-जुलते अनुरोध की सूची.
|
nextPageToken |
string
अगले पेज का अनुरोध करने के लिए, पेज पर नंबर डालने का टोकन.
|
totalSize |
string (int64 format)
अनुरोध से मेल खाते प्रिंटर की कुल संख्या.
|
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/chrome.management.reports.readonly
PrinterReport
Reports.countPrintJobsByPrinter की रिपोर्ट में, प्रिंटर के इस्तेमाल के आंकड़े शामिल हैं. इस प्रिंटर से शुरू किए गए प्रिंट जॉब की कुल संख्या, उपयोगकर्ताओं की संख्या, और उन डिवाइस की संख्या होती है जिन्होंने इस प्रिंटर पर कम से कम एक प्रिंट जॉब शुरू किया है.
JSON के काेड में दिखाना |
{
"printerId": string,
"printer": string,
"printerModel": string,
"jobCount": string,
"userCount": string,
"deviceCount": string
} |
फ़ील्ड |
printerId |
string
प्रिंटर एपीआई आईडी.
|
printer |
string
प्रिंटर का नाम.
|
printerModel |
string
प्रिंटर का मॉडल.
|
jobCount |
string (int64 format)
प्रिंटर को भेजे गए प्रिंट जॉब की संख्या.
|
userCount |
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\u003eGet a summary of printing activity by each printer, including the number of jobs, users, and devices.\u003c/p\u003e\n"],["\u003cp\u003eFilter results by organizational unit and time range using query parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes a list of PrinterReports, each containing printer details and usage statistics.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ehttps://www.googleapis.com/auth/chrome.management.reports.readonly\u003c/code\u003e authorization scope for access.\u003c/p\u003e\n"]]],[],null,["# Method: customers.reports.countPrintJobsByPrinter\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.CountPrintJobsByPrinterResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [PrinterReport](#PrinterReport)\n - [JSON representation](#PrinterReport.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nGet a summary of printing done by each printer.\n\n### HTTP request\n\n`GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countPrintJobsByPrinter`\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 data for printers from the specified organizational unit will be returned. If omitted, data for printers from all organizational units will be returned. |\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 'printer' field. Supported orderBy fields: - printer - jobCount - deviceCount - userCount |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse containing a summary printing report for each printer from the specified organizational unit for the requested time interval.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"printerReports\": [ { object (/chrome/management/reference/rest/v1/customers.reports/countPrintJobsByPrinter#PrinterReport) } ], \"nextPageToken\": string, \"totalSize\": string } ``` |\n\n| Fields ||\n|--------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `printerReports[]` | `object (`[PrinterReport](/chrome/management/reference/rest/v1/customers.reports/countPrintJobsByPrinter#PrinterReport)`)` List of PrinterReports 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 printers matching request. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/chrome.management.reports.readonly`\n\nPrinterReport\n-------------\n\nReport for reports.countPrintJobsByPrinter, contains statistics on printer usage. Contains the total number of print jobs initiated with this printer, the number of users and the number of devices that have initiated at least one print job with this printer.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"printerId\": string, \"printer\": string, \"printerModel\": string, \"jobCount\": string, \"userCount\": string, \"deviceCount\": string } ``` |\n\n| Fields ||\n|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `printerId` | `string` Printer API ID. |\n| `printer` | `string` Printer name. |\n| `printerModel` | `string` Printer model. |\n| `jobCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Number of print jobs sent to the printer. |\n| `userCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Number of users that have sent print jobs to the printer. |\n| `deviceCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Number of chrome devices that have been used to send print jobs to the specified printer. |"]]