Method: admin.directory.v1.customers.chrome.printServers.list
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Yazdırma sunucusu yapılandırmalarını listeler.
HTTP isteği
GET https://admin.googleapis.com/admin/directory/v1/{parent=customers/*}/chrome/printServers
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
parent |
string
Zorunlu. Müşterinin Google Workspace hesabının benzersiz kimliği. Biçim: customers/{id}
|
Sorgu parametreleri
Parametreler |
pageSize |
integer
Döndürülecek maksimum nesne sayısı (varsayılan 100 , maksimum 100 ). Hizmet bu değerden daha az nesne döndürebilir.
|
pageToken |
string
Sonuçları sayfalara ayırmak için oluşturulan bir jeton (önceki bir çağrıdan alınan nextPageToken ).
|
orgUnitId |
string
İstekte orgUnitId varsa yalnızca kuruluş biriminin (OU) sahip olduğu veya devraldığı yazdırma sunucuları döndürülür. PrintServer kaynağının orgUnitId değeri istekteki değerle eşleşirse sunucunun sahibi OU olur. İstekte orgUnitId belirtilmezse tüm yazdırma sunucuları döndürülür veya filtrelenir.
|
filter |
string
Common Expression Language söz diziminde arama sorgusu. Desteklenen filtreler displayName , description ve uri 'dir. Örnek: printServer.displayName=='marketing-queue' .
|
orderBy |
string
Sonuçların sıralama düzeni. Desteklenen değerler displayName , description veya createTime 'dir. Varsayılan sıralama artan sıradadır ancak orderBy alanına "desc" eklenerek azalan sıralama döndürülebilir. Örneğin, orderBy=='description desc' , açıklamaya göre azalan düzende sıralanmış yazdırma sunucularını döndürür.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt gövdesi
Başarılı olursa yanıt metni aşağıdaki yapıyla birlikte verileri içerir:
JSON gösterimi |
{
"printServers": [
{
object (PrintServer )
}
],
"nextPageToken": string
} |
Alanlar |
printServers[] |
object (PrintServer )
Yazdırma sunucularının listesi.
|
nextPageToken |
string
Sonraki sayfayı alma isteğinde pageToken olarak gönderilebilen bir jeton. Bu alan atlanırsa sonraki sayfa olmaz.
|
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamlarından birini gerektirir:
https://www.googleapis.com/auth/admin.chrome.printers
https://www.googleapis.com/auth/admin.chrome.printers.readonly
Daha fazla bilgi için Yetkilendirme kılavuzuna bakın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-24 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-24 UTC."],[],[],null,["# Method: admin.directory.v1.customers.chrome.printServers.list\n\nLists print server configurations.\n\n### HTTP request\n\n`GET https://admin.googleapis.com/admin/directory/v1/{parent=customers/*}/chrome/printServers`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The [unique ID](https://developers.google.com/workspace/admin/directory/reference/rest/v1/customers) of the customer's Google Workspace account. Format: `customers/{id}` |\n\n### Query parameters\n\n| Parameters ||\n|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of objects to return (default `100`, max `100`). The service might return fewer than this value. |\n| `pageToken` | `string` A generated token to paginate results (the `nextPageToken` from a previous call). |\n| `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`](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printServers) 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. |\n| `filter` | `string` Search query in [Common Expression Language syntax](https://github.com/google/cel-spec). Supported filters are `displayName`, `description`, and `uri`. Example: `printServer.displayName=='marketing-queue'`. |\n| `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. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"printServers\": [ { object (/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printServers#PrintServer) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `printServers[]` | `object (`[PrintServer](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printServers#PrintServer)`)` List of print servers. |\n| `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. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/admin.chrome.printers`\n- `\n https://www.googleapis.com/auth/admin.chrome.printers.readonly`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]