REST Resource: admin.directory.v1.customers.chrome.printServers
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資源:PrintServer
JSON 表示法 |
{
"name": string,
"id": string,
"displayName": string,
"description": string,
"uri": string,
"createTime": string,
"orgUnitId": string
} |
欄位 |
name |
string
ID。列印伺服器的資源名稱。建立時請留空。 格式:customers/{customer.id}/printServers/{printServer.id}
|
id |
string
不可變動。列印伺服器的 ID。建立時請留空。
|
displayName |
string
可編輯。列印伺服器的顯示名稱 (管理控制台顯示的名稱)。
|
description |
string
可編輯。列印伺服器說明 (管理控制台顯示的內容)。
|
uri |
string
可編輯。列印伺服器 URI。
|
createTime |
string (Timestamp format)
僅供輸出。建立列印伺服器的時間。 使用 RFC 3339,產生的輸出內容一律會經過 Z 規格化,並使用 0、3、6 或 9 小數位數。系統也接受「Z」以外的偏移值。例如:"2014-10-02T15:01:23Z" 、"2014-10-02T15:01:23.045123456Z" 或 "2014-10-02T15:01:23+05:30" 。
|
orgUnitId |
string
擁有此印表機伺服器的機構單位 (OU) ID。這個值只能在列印伺服器初始建立時設定。如果未填入,列印伺服器會置於根 OU 下。 您可以使用 Directory API 擷取 orgUnitId 。
|
方法 |
|
建立多個列印伺服器。 |
|
刪除多個列印伺服器。 |
|
建立列印伺服器。 |
|
刪除列印伺服器。 |
|
傳回列印伺服器的設定。 |
|
列出列印伺服器設定。 |
|
更新列印伺服器的設定。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],[],null,["# REST Resource: admin.directory.v1.customers.chrome.printServers\n\nResource: PrintServer\n---------------------\n\nConfiguration for a print server.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"id\": string, \"displayName\": string, \"description\": string, \"uri\": string, \"createTime\": string, \"orgUnitId\": string } ``` |\n\n| Fields ||\n|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Identifier. Resource name of the print server. Leave empty when creating. Format: `customers/{customer.id}/printServers/{printServer.id}` |\n| `id` | `string` Immutable. ID of the print server. Leave empty when creating. |\n| `displayName` | `string` Editable. Display name of the print server (as shown in the Admin console). |\n| `description` | `string` Editable. Description of the print server (as shown in the Admin console). |\n| `uri` | `string` Editable. Print server URI. |\n| `createTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Output only. Time when the print server was created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n| `orgUnitId` | `string` ID of the organization unit (OU) that owns this print server. This value can only be set when the print server is initially created. If it's not populated, the print server is placed under the root OU. The `orgUnitId` can be retrieved using the [Directory API](https://developers.google.com/workspace/admin/directory/reference/rest/v1/orgunits). |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|\n| ### [batchCreatePrintServers](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printServers/batchCreatePrintServers) | Creates multiple print servers. |\n| ### [batchDeletePrintServers](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printServers/batchDeletePrintServers) | Deletes multiple print servers. |\n| ### [create](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printServers/create) | Creates a print server. |\n| ### [delete](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printServers/delete) | Deletes a print server. |\n| ### [get](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printServers/get) | Returns a print server's configuration. |\n| ### [list](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printServers/list) | Lists print server configurations. |\n| ### [patch](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printServers/patch) | Updates a print server's configuration. |"]]