Admin SDK: Chrome Printer Management API
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Interfejs API zarządzania drukarkami w Chrome umożliwia administratorom zarządzanie drukarkami i serwerami wydruku CUPS.
Usługa: admin.googleapis.com
Do wywołania tej usługi zalecamy użycie dostarczonych przez Google bibliotek klienta. Jeśli aplikacja musi wywoływać tę usługę przy użyciu własnych bibliotek, podczas tworzenia żądań interfejsu API należy używać poniższych informacji.
Dokument opisujący
Dokument opisujący to czytelna dla komputera specyfikacja opisująca interfejsy API REST i sposób ich używania. Służy do tworzenia bibliotek klienta, wtyczek IDE i innych narzędzi, które współdziałają z interfejsami API Google. Jedna usługa może udostępniać wiele dokumentów opisujących. Ta usługa dostarcza następujący dokument opisujący interfejs API:
Punkt końcowy usługi
Punkt końcowy usługi to podstawowy adres URL, który określa adres sieciowy usługi interfejsu API. Jedna usługa może mieć wiele punktów końcowych. Ta usługa ma następujący punkt końcowy i wszystkie poniższe identyfikatory URI odnoszą się do niego:
https://admin.googleapis.com
Metody |
batchCreatePrintServers |
POST /admin/directory/v1/{parent=customers/*}/chrome/printServers:batchCreatePrintServers Tworzy wiele serwerów wydruku. |
batchDeletePrintServers |
POST /admin/directory/v1/{parent=customers/*}/chrome/printServers:batchDeletePrintServers Usuwanie wielu serwerów wydruku. |
create |
POST /admin/directory/v1/{parent=customers/*}/chrome/printServers Tworzy serwer wydruku. |
delete |
DELETE /admin/directory/v1/{name=customers/*/chrome/printServers/*} Usuwanie serwera wydruku. |
get |
GET /admin/directory/v1/{name=customers/*/chrome/printServers/*} Zwraca konfigurację serwera wydruku. |
list |
GET /admin/directory/v1/{parent=customers/*}/chrome/printServers Wyświetla listę konfiguracji serwera wydruku. |
patch |
PATCH /admin/directory/v1/{printServer.name=customers/*/chrome/printServers/*}
Aktualizuje konfigurację serwera wydruku. |
Metody |
batchCreatePrinters |
POST /admin/directory/v1/{parent=customers/*}/chrome/printers:batchCreatePrinters Tworzy drukarki w danej jednostce organizacyjnej. |
batchDeletePrinters |
POST /admin/directory/v1/{parent=customers/*}/chrome/printers:batchDeletePrinters Umożliwia zbiorcze usuwanie drukarek. |
create |
POST /admin/directory/v1/{parent=customers/*}/chrome/printers Tworzy drukarkę w danej jednostce organizacyjnej. |
delete |
DELETE /admin/directory/v1/{name=customers/*/chrome/printers/*} Usuwanie Printer . |
get |
GET /admin/directory/v1/{name=customers/*/chrome/printers/*} Zwraca zasób Printer (konfigurację drukarki). |
list |
GET /admin/directory/v1/{parent=customers/*}/chrome/printers Wyświetla listę konfiguracji drukarek. |
listPrinterModels |
GET /admin/directory/v1/{parent=customers/*}/chrome/printers:listPrinterModels Wyświetla listę obsługiwanych modeli drukarek. |
patch |
PATCH /admin/directory/v1/{printer.name=customers/*/chrome/printers/*} Zaktualizuj zasób Printer . |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],[],null,["# Admin SDK: Chrome Printer Management API\n\nThe Chrome Printer Management API lets admins manage [CUPS](https://www.cups.org/) printers and print servers.\n\nService: admin.googleapis.com\n-----------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://admin.googleapis.com/$discovery/rest?version=directory_v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://admin.googleapis.com`\n\nREST Resource: [admin.directory.v1.customers.chrome.printServers](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printServers)\n---------------------------------------------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|\n| [batchCreatePrintServers](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printServers/batchCreatePrintServers) | `POST /admin/directory/v1/{parent=customers/*}/chrome/printServers:batchCreatePrintServers` Creates multiple print servers. |\n| [batchDeletePrintServers](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printServers/batchDeletePrintServers) | `POST /admin/directory/v1/{parent=customers/*}/chrome/printServers:batchDeletePrintServers` Deletes multiple print servers. |\n| [create](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printServers/create) | `POST /admin/directory/v1/{parent=customers/*}/chrome/printServers` Creates a print server. |\n| [delete](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printServers/delete) | `DELETE /admin/directory/v1/{name=customers/*/chrome/printServers/*}` Deletes a print server. |\n| [get](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printServers/get) | `GET /admin/directory/v1/{name=customers/*/chrome/printServers/*}` Returns a print server's configuration. |\n| [list](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printServers/list) | `GET /admin/directory/v1/{parent=customers/*}/chrome/printServers` Lists print server configurations. |\n| [patch](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printServers/patch) | `PATCH /admin/directory/v1/{printServer.name=customers/*/chrome/printServers/*}` Updates a print server's configuration. |\n\nREST Resource: [admin.directory.v1.customers.chrome.printers](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printers)\n-------------------------------------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|-------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| [batchCreatePrinters](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printers/batchCreatePrinters) | `POST /admin/directory/v1/{parent=customers/*}/chrome/printers:batchCreatePrinters` Creates printers under given Organization Unit. |\n| [batchDeletePrinters](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printers/batchDeletePrinters) | `POST /admin/directory/v1/{parent=customers/*}/chrome/printers:batchDeletePrinters` Deletes printers in batch. |\n| [create](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printers/create) | `POST /admin/directory/v1/{parent=customers/*}/chrome/printers` Creates a printer under given Organization Unit. |\n| [delete](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printers/delete) | `DELETE /admin/directory/v1/{name=customers/*/chrome/printers/*}` Deletes a `Printer`. |\n| [get](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printers/get) | `GET /admin/directory/v1/{name=customers/*/chrome/printers/*}` Returns a `Printer` resource (printer's config). |\n| [list](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printers/list) | `GET /admin/directory/v1/{parent=customers/*}/chrome/printers` List printers configs. |\n| [listPrinterModels](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printers/listPrinterModels) | `GET /admin/directory/v1/{parent=customers/*}/chrome/printers:listPrinterModels` Lists the supported printer models. |\n| [patch](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printers/patch) | `PATCH /admin/directory/v1/{printer.name=customers/*/chrome/printers/*}` Updates a `Printer` resource. |"]]