Admin SDK: Chrome Printer Management API
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Chrome Printer Management API ช่วยให้ผู้ดูแลระบบจัดการเครื่องพิมพ์และเซิร์ฟเวอร์การพิมพ์ CUPS ได้
บริการ: admin.googleapis.com
หากต้องการเรียกใช้บริการนี้ เราขอแนะนำให้คุณใช้ไลบรารีไคลเอ็นต์ที่ Google มีให้ หากแอปพลิเคชันของคุณต้องใช้ไลบรารีของคุณเองเพื่อเรียกใช้บริการนี้ ให้ใช้ข้อมูลต่อไปนี้เมื่อส่งคำขอ API
เอกสารการค้นพบ
เอกสาร Discovery คือข้อกำหนดเฉพาะที่เครื่องอ่านได้สำหรับอธิบายและใช้ REST API โดยใช้ในการสร้างไลบรารีของไคลเอ็นต์ ปลั๊กอิน IDE และเครื่องมืออื่นๆ ที่โต้ตอบกับ Google API บริการหนึ่งๆ อาจให้เอกสารการค้นพบได้หลายรายการ บริการนี้มีเอกสารการค้นพบต่อไปนี้
ปลายทางของบริการ
ปลายทางบริการคือ URL พื้นฐานที่ระบุที่อยู่เครือข่ายของบริการ API บริการหนึ่งๆ อาจมีปลายทางบริการหลายรายการ บริการนี้มีปลายทางบริการดังต่อไปนี้ และ URI ทั้งหมดด้านล่างจะเกี่ยวข้องกับปลายทางบริการนี้
https://admin.googleapis.com
เมธอด |
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/*}
อัปเดตการกำหนดค่าของเซิร์ฟเวอร์การพิมพ์ |
เมธอด |
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 |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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. |"]]