Method: admin.directory.v1.customers.chrome.printServers.list
Lists print server configurations.
HTTP request
GET https://admin.googleapis.com/admin/directory/v1/{parent=customers/*}/chrome/printServers
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The unique ID of the customer's Google Workspace account. Format: customers/{id}
|
Query parameters
Parameters |
pageSize |
integer
The maximum number of objects to return (default 100 , max 100 ). The service might return fewer than this value.
|
pageToken |
string
A generated token to paginate results (the nextPageToken from a previous call).
|
orgUnitId |
string
If orgUnitId is present in the request, only print servers owned or inherited by the organizational unit (OU) are returned. If the PrintServer resource's orgUnitId matches the one in the request, the OU owns the server. If orgUnitId is not specified in the request, all print servers are returned or filtered against.
|
filter |
string
Search query in Common Expression Language syntax. Supported filters are displayName , description , and uri . Example: printServer.displayName=='marketing-queue' .
|
orderBy |
string
Sort order for results. Supported values are displayName , description , or createTime . Default order is ascending, but descending order can be returned by appending "desc" to the orderBy field. For instance, orderBy=='description desc' returns the print servers sorted by description in descending order.
|
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
JSON representation |
{
"printServers": [
{
object (PrintServer )
}
],
"nextPageToken": string
} |
Fields |
printServers[] |
object (PrintServer )
List of print servers.
|
nextPageToken |
string
A token that can be sent as pageToken in a request to retrieve the next page. If this field is omitted, there are no subsequent pages.
|
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/admin.chrome.printers
https://www.googleapis.com/auth/admin.chrome.printers.readonly
For more information, see the Authorization guide.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-22 UTC.
[null,null,["Last updated 2024-08-22 UTC."],[[["Lists print server configurations for a Google Workspace customer account."],["Allows filtering, sorting, and pagination of listed print servers."],["Requires authorization with specific OAuth scopes for access."],["Provides details such as displayName, description, and URI for each print server."],["Response includes a token for retrieving subsequent pages of results, if available."]]],["This document outlines the process for retrieving print server configurations via an HTTP GET request. Key actions include specifying the customer ID (`parent`), optional pagination with `pageSize` and `pageToken`, filtering by organizational unit (`orgUnitId`), and applying custom filters (`filter`) or sorting (`orderBy`). The response provides a list of `printServers`, and if there is more data a `nextPageToken` will be returned to get the next page. Authorization requires specific OAuth scopes.\n"]]