Admin SDK: Chrome Printer Management API
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
ממשק ה-API לניהול מדפסות של Chrome מאפשר לאדמינים לנהל מדפסות ושרתי הדפסה של CUPS.
שירות: admin.googleapis.com
כדי לקרוא לשירות הזה, מומלץ להשתמש בספריות הלקוח ש-Google מספקת. אם האפליקציה שלכם צריכה להשתמש בספריות משלכם כדי לקרוא לשירות הזה, צריך להשתמש במידע הבא כששולחים את בקשות ה-API.
מסמך Discovery
מסמך Discovery הוא מפרט שקריא למכונות, שמתאר ממשקי API ל-REST ומאפשר להשתמש בהם. הוא משמש ליצירת ספריות לקוח, יישומי פלאגין ל-IDE וכלים אחרים שמקיימים אינטראקציה עם Google APIs. שירות אחד יכול לספק כמה מסמכי גילוי. השירות הזה מספק את מסמך הגילוי הבא:
נקודת קצה לשירות
נקודת קצה של שירות היא כתובת URL בסיסית שצוינה בה כתובת הרשת של שירות API. לשירות אחד יכולות להיות כמה נקודות קצה של שירות. לשירות הזה יש את נקודת הקצה הבאה, וכל מזהי ה-URI שבהמשך הם יחסיים לנקודת הקצה הזו:
https://admin.googleapis.com
Methods |
batchCreatePrintServers |
POST /admin/directory/v1/{parent=customers/*}/chrome/printServers:batchCreatePrintServers
יצירת כמה שרתי הדפסה. |
batchDeletePrintServers |
POST /admin/directory/v1/{parent=customers/*}/chrome/printServers:batchDeletePrintServers
מחיקה של כמה שרתי הדפסה. |
create |
POST /admin/directory/v1/{parent=customers/*}/chrome/printServers
יצירת שרת הדפסה. |
delete |
DELETE /admin/directory/v1/{name=customers/*/chrome/printServers/*}
מחיקה של שרת הדפסה. |
get |
GET /admin/directory/v1/{name=customers/*/chrome/printServers/*}
הפונקציה מחזירה את ההגדרות של שרת ההדפסה. |
list |
GET /admin/directory/v1/{parent=customers/*}/chrome/printServers
הצגת הגדרות של שרתי הדפסה. |
patch |
PATCH /admin/directory/v1/{printServer.name=customers/*/chrome/printServers/*}
עדכון ההגדרות של שרת הדפסה. |
Methods |
batchCreatePrinters |
POST /admin/directory/v1/{parent=customers/*}/chrome/printers:batchCreatePrinters
יצירת מדפסות ביחידה ארגונית נתונה. |
batchDeletePrinters |
POST /admin/directory/v1/{parent=customers/*}/chrome/printers:batchDeletePrinters
מחיקה של מדפסות באצווה. |
create |
POST /admin/directory/v1/{parent=customers/*}/chrome/printers
יצירת מדפסת ביחידה ארגונית נתונה. |
delete |
DELETE /admin/directory/v1/{name=customers/*/chrome/printers/*}
מחיקה של Printer . |
get |
GET /admin/directory/v1/{name=customers/*/chrome/printers/*}
הפונקציה מחזירה משאב Printer (הגדרות המדפסת). |
list |
GET /admin/directory/v1/{parent=customers/*}/chrome/printers
הצגת רשימה של הגדרות המדפסות. |
listPrinterModels |
GET /admin/directory/v1/{parent=customers/*}/chrome/printers:listPrinterModels
רשימה של דגמי המדפסות הנתמכים. |
patch |
PATCH /admin/directory/v1/{printer.name=customers/*/chrome/printers/*}
עדכון משאב Printer . |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 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. |"]]