- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- PrinterReport
- Try it!
Get a summary of printing done by each printer.
HTTP request
GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:countPrintJobsByPrinter
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
customer |
Required. Customer ID prefixed with "customers/" or "customers/my_customer" to use the customer associated to the account making the request. |
Query parameters
Parameters | |
---|---|
printer |
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. |
page |
Maximum number of results to return. Maximum and default are 100. |
page |
Token to specify the page of the response to be returned. |
filter |
Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Note: Only >= and <= comparators are supported in this filter. Supported filter fields:
|
order |
Field used to order results. If omitted, results will be ordered in ascending order of the 'printer' field. Supported orderBy fields:
|
Request body
The request body must be empty.
Response body
Response containing a summary printing report for each printer from the specified organizational unit for the requested time interval.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"printerReports": [
{
object ( |
Fields | |
---|---|
printer |
List of PrinterReports matching request. |
next |
Pagination token for requesting the next page. |
total |
Total number of printers matching request. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/chrome.management.reports.readonly
PrinterReport
Report 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.
JSON representation |
---|
{ "printerId": string, "printer": string, "printerModel": string, "jobCount": string, "userCount": string, "deviceCount": string } |
Fields | |
---|---|
printer |
Printer API ID. |
printer |
Printer name. |
printer |
Printer model. |
job |
Number of print jobs sent to the printer. |
user |
Number of users that have sent print jobs to the printer. |
device |
Number of chrome devices that have been used to send print jobs to the specified printer. |