Method: admin.directory.v1.customers.chrome.printers.listPrinterModels
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Desteklenen yazıcı modellerini listeler.
HTTP isteği
GET https://admin.googleapis.com/admin/directory/v1/{parent=customers/*}/chrome/printers:listPrinterModels
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
parent |
string
Zorunlu. Bu yazıcı koleksiyonunun sahibi olan müşterinin adı. Biçim: customers/{customer_id}
|
Sorgu parametreleri
Parametreler |
pageSize |
integer
Döndürülecek maksimum nesne sayısı. Hizmet bu değerden daha az sonuç döndürebilir.
|
pageToken |
string
Önceki bir çağrıdan alınan sayfa jetonu.
|
filter |
string
Yalnızca belirli bir üreticiye ait modelleri "üretici:Brother" biçiminde listeleyen filtre. Arama söz dizimi, bu API ile Yönetici Konsolu yazıcı sayfaları arasında paylaşılır.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt gövdesi
İzin verilen yazıcı modellerini listeleme yanıtı.
Başarılı olursa yanıt metni aşağıdaki yapıyla birlikte verileri içerir:
JSON gösterimi |
{
"printerModels": [
{
object (PrinterModel )
}
],
"nextPageToken": string
} |
Alanlar |
printerModels[] |
object (PrinterModel )
Şu anda ChromeOS için yapılandırılmasına izin verilen yazıcı modelleri. Zaman içinde bazı yazıcılar eklenebilir veya kaldırılabilir.
|
nextPageToken |
string
Sonraki sayfayı almak için 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.
PrinterModel
Yazıcı üreticisi ve modeli
JSON gösterimi |
{
"manufacturer": string,
"displayName": string,
"makeAndModel": string
} |
Alanlar |
manufacturer |
string
Manufacturer. eq. "Brother"
|
displayName |
string
Görünen ad. eq. "Brother MFC-8840D"
|
makeAndModel |
string
Yazıcı nesnesinde "makeAndModel" alanında gösterilen marka ve model. eşit "brother mfc-8840d"
|
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.printers.listPrinterModels\n\nLists the supported printer models.\n\n### HTTP request\n\n`GET https://admin.googleapis.com/admin/directory/v1/{parent=customers/*}/chrome/printers:listPrinterModels`\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 name of the customer who owns this collection of printers. Format: customers/{customer_id} |\n\n### Query parameters\n\n| Parameters ||\n|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of objects to return. The service may return fewer than this value. |\n| `pageToken` | `string` A page token, received from a previous call. |\n| `filter` | `string` Filer to list only models by a given manufacturer in format: \"manufacturer:Brother\". Search syntax is shared between this api and Admin Console printers pages. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse for listing allowed printer models.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"printerModels\": [ { object (/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printers/listPrinterModels#PrinterModel) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `printerModels[]` | `object (`[PrinterModel](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printers/listPrinterModels#PrinterModel)`)` Printer models that are currently allowed to be configured for ChromeOs. Some printers may be added or removed over time. |\n| `nextPageToken` | `string` A token, which can be sent as `pageToken` 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).\n\nPrinterModel\n------------\n\nPrinter manufacturer and model\n\n| JSON representation |\n|-----------------------------------------------------------------------------------|\n| ``` { \"manufacturer\": string, \"displayName\": string, \"makeAndModel\": string } ``` |\n\n| Fields ||\n|----------------|-----------------------------------------------------------------------------------------------------------|\n| `manufacturer` | `string` Manufacturer. eq. \"Brother\" |\n| `displayName` | `string` Display name. eq. \"Brother MFC-8840D\" |\n| `makeAndModel` | `string` Make and model as represented in \"makeAndModel\" field in Printer object. eq. \"brother mfc-8840d\" |"]]