Method: customers.configurations.patch
कॉन्फ़िगरेशन की फ़ील्ड वैल्यू को अपडेट करता है.
एचटीटीपी अनुरोध
PATCH https://androiddeviceprovisioning.googleapis.com/v1/{configuration.name=customers/*/configurations/*}
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
पैरामीटर |
configuration.name |
string
सिर्फ़ आउटपुट के लिए. customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID] फ़ॉर्मैट में एपीआई संसाधन का नाम. सर्वर की ओर से असाइन किया गया.
|
क्वेरी पैरामीटर
पैरामीटर |
updateMask |
string (FieldMask format)
ज़रूरी है. फ़ील्ड अपडेट करने से पहले, टारगेट Configuration पर फ़ील्ड मास्क लागू किया जाता है. फ़ील्ड मास्क के इस्तेमाल के बारे में ज़्यादा जानने के लिए, प्रोटोकॉल बफ़र दस्तावेज़ में FieldMask पढ़ें. यह फ़ील्ड के पूरी तरह क्वालिफ़ाइड नाम की सूची है, जिसे कॉमा लगाकर अलग किया गया है. उदाहरण: "user.displayName,photo" .
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में Configuration
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में Configuration
का एक इंस्टेंस शामिल किया जाता है.
अनुमति पाने के लिंक
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/androidworkzerotouchemm
ज़्यादा जानकारी के लिए, OAuth 2.0 की खास जानकारी देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-07 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-07 (UTC) को अपडेट किया गया."],[[["This endpoint updates a configuration's field values using a PATCH request."],["The request URL requires the `configuration.name` as a path parameter in the format `customers/*/configurations/*`."],["It utilizes `updateMask` as a required query parameter to specify which fields of the `Configuration` should be updated, following FieldMask format."],["The request body must contain an instance of `Configuration`, and a successful response will also return an instance of `Configuration`."],["Authorization requires the `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope."]]],["This describes updating configuration field values via a PATCH request to a specific URL: `https://androiddeviceprovisioning.googleapis.com/v1/{configuration.name=customers/*/configurations/*}`. The `configuration.name` in the URL is a required path parameter. The `updateMask` query parameter, using FieldMask format, is required to specify which fields to update. The request and response bodies use the `Configuration` resource. Authorization requires the `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope.\n"]]