Method: admin.directory.v1.customers.chrome.printServers.list
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
प्रिंट सर्वर के कॉन्फ़िगरेशन की सूची दिखाता है.
एचटीटीपी अनुरोध
GET https://admin.googleapis.com/admin/directory/v1/{parent=customers/*}/chrome/printServers
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
parent |
string
ज़रूरी है. ग्राहक के Google Workspace खाते का यूनीक आईडी. फ़ॉर्मैट: customers/{id}
|
क्वेरी पैरामीटर
पैरामीटर |
pageSize |
integer
दिखाए जाने वाले ऑब्जेक्ट की ज़्यादा से ज़्यादा संख्या (डिफ़ॉल्ट 100 , ज़्यादा से ज़्यादा 100 ). हो सकता है कि सेवा इस वैल्यू से कम ऑब्जेक्ट दिखाए.
|
pageToken |
string
नतीजों को पेज के हिसाब से बांटने के लिए जनरेट किया गया टोकन (पिछले कॉल से मिला nextPageToken ).
|
orgUnitId |
string
अगर अनुरोध में orgUnitId मौजूद है, तो सिर्फ़ वे प्रिंट सर्वर दिखाए जाते हैं जिनका मालिकाना हक संगठन की इकाई (ओयू) के पास है या जिन्हें उसने इनहेरिट किया है. अगर PrintServer रिसॉर्स का orgUnitId , अनुरोध में दिए गए orgUnitId से मेल खाता है, तो ओयू के पास सर्वर का मालिकाना हक होता है. अगर अनुरोध में orgUnitId की जानकारी नहीं दी गई है, तो सभी प्रिंट सर्वर दिखाए जाते हैं या उनके हिसाब से फ़िल्टर किया जाता है.
|
filter |
string
कॉमन एक्सप्रेशन लैंग्वेज सिंटैक्स में खोज क्वेरी. इन फ़िल्टर का इस्तेमाल किया जा सकता है: displayName , description , और uri . उदाहरण: printServer.displayName=='marketing-queue' .
|
orderBy |
string
नतीजों को क्रम से लगाने का तरीका. displayName , description या createTime को वैल्यू के तौर पर इस्तेमाल किया जा सकता है. डिफ़ॉल्ट क्रम में, वैल्यू को बढ़ते क्रम में दिखाया जाता है. हालांकि, orderBy फ़ील्ड में "desc" जोड़कर, वैल्यू को घटते क्रम में दिखाया जा सकता है. उदाहरण के लिए, orderBy=='description desc' प्रिंट सर्वर को जानकारी के हिसाब से, घटते क्रम में क्रम से लगाकर दिखाता है.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.
JSON के काेड में दिखाना |
{
"printServers": [
{
object (PrintServer )
}
],
"nextPageToken": string
} |
फ़ील्ड |
printServers[] |
object (PrintServer )
प्रिंट सर्वर की सूची.
|
nextPageToken |
string
अगले पेज को फिर से पाने के अनुरोध में, pageToken के तौर पर भेजा जा सकने वाला टोकन. अगर इस फ़ील्ड को छोड़ा जाता है, तो इसके बाद कोई पेज नहीं दिखेगा.
|
अनुमति के दायरे
इसके लिए, OAuth के इनमें से किसी एक स्कोप की ज़रूरत होती है:
https://www.googleapis.com/auth/admin.chrome.printers
https://www.googleapis.com/auth/admin.chrome.printers.readonly
ज़्यादा जानकारी के लिए, अनुमति से जुड़ी गाइड देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-24 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 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)."]]