Method: customers.devices.patch
एचटीटीपी अनुरोध
PATCH https://sasportal.googleapis.com/v1alpha1/{device.name=customers/*/devices/*}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल होता है.
पाथ पैरामीटर
पैरामीटर |
device.name |
string
सिर्फ़ आउटपुट. संसाधन पाथ का नाम.
|
क्वेरी पैरामीटर
पैरामीटर |
updateMask |
string (FieldMask format)
अपडेट किए जाने वाले फ़ील्ड. कॉमा लगाकर अलग किए गए फ़ील्ड की सूची. उदाहरण: "user.displayName,photo" .
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में Device
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में Device
का एक इंस्टेंस शामिल किया जाता है.
अनुमति पाने के लिंक
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/userinfo.email
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2022-09-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2022-09-26 (UTC) को अपडेट किया गया."],[[["This documentation outlines how to update a device using the Spectrum Access System API with a `PATCH` request to a specified endpoint."],["The request involves path and query parameters, including `device.name` for device identification and `updateMask` for specifying fields to update."],["Both the request and response bodies utilize the `Device` object, detailed in external documentation."],["Proper authorization requires the `https://www.googleapis.com/auth/userinfo.email` OAuth scope."]]],["This document details updating a device via a PATCH request to a specified URL. The URL utilizes gRPC Transcoding and includes a `device.name` path parameter. The `updateMask` query parameter specifies which fields to modify, while the request body carries the updated `Device` instance. A successful response returns the modified `Device`. The action needs `https://www.googleapis.com/auth/userinfo.email` authorization scope.\n"]]