Method: enterprises.patch
किसी एंटरप्राइज़ को अपडेट करता है. इन्हें भी देखें: SigninDetail
एचटीटीपी अनुरोध
PATCH https://androidmanagement.googleapis.com/v1/{name=enterprises/*}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
name |
string
enterprises/{enterpriseId} फ़ॉर्मैट में, एंटरप्राइज़ का नाम.
|
क्वेरी पैरामीटर
पैरामीटर |
updateMask |
string (FieldMask format)
फ़ील्ड मास्क, अपडेट किए जाने वाले फ़ील्ड के बारे में बताता है. अगर यह सेट नहीं है, तो बदलाव किए जा सकने वाले सभी फ़ील्ड में बदलाव हो जाएगा. यह फ़ील्ड के पूरी तरह से क्वालिफ़ाइड नामों की सूची है. इसमें नामों को कॉमा लगाकर अलग किया गया है. उदाहरण: "user.displayName,photo" .
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में Enterprise
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में Enterprise
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/androidmanagement
ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-02-19 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-02-19 (UTC) को अपडेट किया गया."],[[["This operation updates an existing enterprise using a PATCH request to the specified URL."],["You can specify fields to be updated using the `updateMask` query parameter or update all modifiable fields by leaving it unset."],["The request body should contain an `Enterprise` object with the desired modifications."],["A successful update will return the updated `Enterprise` object in the response body."],["Authorization requires the `https://www.googleapis.com/auth/androidmanagement` scope."]]],["This outlines the process of updating an enterprise via a `PATCH` request to a specific URL: `https://androidmanagement.googleapis.com/v1/{name=enterprises/*}`. The `name` path parameter specifies the enterprise ID. The `updateMask` query parameter determines which fields to modify. The request body includes the updated `Enterprise` data, and a successful response also returns an `Enterprise` instance. The operation requires `https://www.googleapis.com/auth/androidmanagement` authorization scope.\n"]]