Method: customers.reports.countPrintJobsByPrinter
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Her yazıcının yaptığı yazdırma işlemleriyle ilgili özet bilgi alın.
HTTP isteği
GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countPrintJobsByPrinter
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
customer |
string
Zorunlu. Müşteri kimliği önünde "customers/" ifadesi bulunur veya "customers/my_customer" istekte bulunan hesapla ilişkili müşteriyi kullanmalıdır.
|
Sorgu parametreleri
Parametreler |
printerOrgUnitId |
string
Yazıcılar için kuruluş biriminin kimliği. Belirtilirse yalnızca belirtilen kuruluş birimindeki yazıcılara ait veriler döndürülür. Atlanırsa tüm kuruluş birimlerinden yazıcılara ait veriler döndürülür.
|
pageSize |
integer
Döndürülecek maksimum sonuç sayısı. Maksimum ve varsayılan değer 100'dür.
|
pageToken |
string
Döndürülecek yanıtın sayfasını belirten jeton.
|
filter |
string
Sonuçları filtrelemek için sorgu dizesi ve EBNF söz diziminde VE ile ayrılmış alanlar. Not: VEYA işlemleri bu filtrede desteklenmez. Not: Bu filtrede yalnızca >= ve <= karşılaştırıcılar desteklenir. Desteklenen filtre alanları:
|
orderBy |
string
Sonuçları sıralamak için kullanılan alan. Atlanırsa sonuçlar 'yazıcı'ya göre artan düzende sıralanır girin. Desteklenen OrderBy alanları:
- yazıcı
- jobCount
- deviceCount
- userCount
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt gövdesi
İstenen zaman aralığı için belirtilen kuruluş biriminden her yazıcıya yönelik bir özet yazdırma raporu içeren yanıt.
Başarılı olursa yanıt metni aşağıdaki yapıyla birlikte verileri içerir:
JSON gösterimi |
{
"printerReports": [
{
object (PrinterReport )
}
],
"nextPageToken": string,
"totalSize": string
} |
Alanlar |
printerReports[] |
object (PrinterReport )
PrinterReports eşleşme isteği listesi.
|
nextPageToken |
string
Sonraki sayfayı istemek için kullanılan sayfalara ayırma jetonu.
|
totalSize |
string (int64 format)
İstekle eşleşen toplam yazıcı sayısı.
|
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/chrome.management.reports.readonly
PrinterReport
report.countPrintjobsByPrinter raporu, yazıcı kullanımına ilişkin istatistikleri içerir. Bu yazıcıyla başlatılan yazdırma işlerinin toplam sayısını, kullanıcı sayısını ve bu yazıcıyla en az bir yazdırma işi başlatan cihazların sayısını içerir.
JSON gösterimi |
{
"printerId": string,
"printer": string,
"printerModel": string,
"jobCount": string,
"userCount": string,
"deviceCount": string
} |
Alanlar |
printerId |
string
Yazıcı API'si kimliği.
|
printer |
string
Yazıcı adı.
|
printerModel |
string
Yazıcı modeli.
|
jobCount |
string (int64 format)
Yazıcıya gönderilen yazdırma işlerinin sayısı.
|
userCount |
string (int64 format)
Yazıcıya yazdırma işleri gönderen kullanıcıların sayısı.
|
deviceCount |
string (int64 format)
Yazdırma işlerini belirtilen yazıcıya göndermek için kullanılan Chrome cihazların sayısı.
|
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 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. |"]]