Method: admin.directory.v1.customers.chrome.printers.patch
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Printer
रिसॉर्स को अपडेट करता है.
एचटीटीपी अनुरोध
PATCH https://admin.googleapis.com/admin/directory/v1/{printer.name=customers/*/chrome/printers/*}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
printer.name |
string
आइडेंटिफ़ायर. प्रिंटर ऑब्जेक्ट का रिसॉर्स नेम, customers/{customer-id}/printers/{printer-id} फ़ॉर्मैट में होना चाहिए. प्रिंटर बनाते समय, इस फ़ील्ड को खाली छोड़ दें
|
क्वेरी पैरामीटर
पैरामीटर |
updateMask |
string (FieldMask format)
अपडेट किए जाने वाले फ़ील्ड की सूची. ध्यान दें, कुछ फ़ील्ड सिर्फ़ पढ़ने के लिए हैं और उन्हें अपडेट नहीं किया जा सकता. जिन फ़ील्ड के लिए वैल्यू नहीं दी गई है उनकी वैल्यू पैच कर दी जाएंगी. यह फ़ील्ड के पूरी तरह से क्वालिफ़ाइड नामों की सूची है. इसमें नामों को कॉमा लगाकर अलग किया गया है. उदाहरण: "user.displayName,photo" .
|
clearMask |
string (FieldMask format)
मिटाए जाने वाले फ़ील्ड की सूची. ध्यान दें, कुछ फ़ील्ड सिर्फ़ पढ़ने के लिए हैं और उन्हें अपडेट नहीं किया जा सकता. जिन फ़ील्ड के लिए वैल्यू नहीं दी गई है उनकी वैल्यू पैच कर दी जाएंगी. यह फ़ील्ड के पूरी तरह से क्वालिफ़ाइड नामों की सूची है. इसमें नामों को कॉमा लगाकर अलग किया गया है. उदाहरण: "user.displayName,photo" .
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में Printer
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में Printer
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/admin.chrome.printers
ज़्यादा जानकारी के लिए, अनुमति से जुड़ी गाइड देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को 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.printers.patch\n\nUpdates a `Printer` resource.\n\n### HTTP request\n\n`PATCH https://admin.googleapis.com/admin/directory/v1/{printer.name=customers/*/chrome/printers/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `printer.name` | `string` Identifier. The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty) |\n\n### Query parameters\n\n| Parameters ||\n|--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `updateMask` | `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` The list of fields to be updated. Note, some of the fields are read only and cannot be updated. Values for not specified fields will be patched. This is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`. |\n| `clearMask` | `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` The list of fields to be cleared. Note, some of the fields are read only and cannot be updated. Values for not specified fields will be patched. This is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`. |\n\n### Request body\n\nThe request body contains an instance of [Printer](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printers#Printer).\n\n### Response body\n\nIf successful, the response body contains an instance of [Printer](/workspace/admin/chrome-printer/reference/rest/v1/admin.directory.v1.customers.chrome.printers#Printer).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/admin.chrome.printers`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]