- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- PrintJob
- State
- ColorMode
- DuplexMode
- Try it!
Get a list of print jobs.
HTTP request
GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/reports:enumeratePrintJobs
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 print jobs submitted to printers from the specified organizational unit will be returned. |
page |
The number of print jobs in the page from 0 to 100 inclusive, if pageSize is not specified or zero, the size will be 50. |
page |
A page token received from a previous When paginating, all other parameters provided to |
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 for Supported filter fields:
|
order |
Field used to order results. If not specified, results will be ordered in descending order of the Supported order by fields:
|
Request body
The request body must be empty.
Response body
Response containing a list of print jobs.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"printJobs": [
{
object ( |
Fields | |
---|---|
print |
List of requested print jobs. |
next |
A token, which can be used in a subsequent request to retrieve the next page. If this field is omitted, there are no subsequent pages. |
total |
Total number of print jobs matching request. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/chrome.management.reports.readonly
PrintJob
Represents a request to print a document that has been submitted to a printer.
JSON representation |
---|
{ "id": string, "title": string, "state": enum ( |
Fields | |
---|---|
id |
Unique ID of the print job. |
title |
The title of the document. |
state |
The final state of the job. |
create |
Print job creation timestamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
complete |
Print job completion timestamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
document |
Number of pages in the document. |
color |
Color mode. |
duplex |
Duplex mode. |
copy |
Number of copies. |
printer |
API ID of the printer used for printing. |
printer |
Name of the printer used for printing. |
user |
The primary e-mail address of the user who submitted the print job. |
user |
The unique Directory API ID of the user who submitted the print job. |
State
State of the print job.
Enums | |
---|---|
STATE_UNSPECIFIED |
Print job is in an unspecified state. |
PRINTED |
The document was successfully printed. |
CANCELLED |
Print job was cancelled. |
FAILED |
Print job failed. |
ColorMode
Print job color mode.
Enums | |
---|---|
COLOR_MODE_UNSPECIFIED |
Unspecified. |
BLACK_AND_WHITE |
Black and white. |
COLOR |
Color. |
DuplexMode
Print job duplex mode.
Enums | |
---|---|
DUPLEX_MODE_UNSPECIFIED |
Unspecified. |
ONE_SIDED |
One-sided. |
TWO_SIDED_LONG_EDGE |
Two-sided flipping over long edge. |
TWO_SIDED_SHORT_EDGE |
Two-sided flipping over short edge. |