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/sasportal
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2022-11-02 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2022-11-02 (UTC) को अपडेट किया गया."],[[["Updates a specific device's information within the Spectrum Access System."],["The request requires providing the device's resource path name as a path parameter."],["You can optionally specify fields to update using the `updateMask` query parameter and a FieldMask format."],["The request body and successful response both contain a `Device` object representing the device's details."],["Authorization necessitates the `https://www.googleapis.com/auth/sasportal` OAuth scope."]]],["This document outlines the process for updating a device via a PATCH request to the specified URL: `https://sasportal.googleapis.com/v1alpha1/{device.name=customers/*/devices/*}`. The device's name is a required path parameter. Updates are specified through the `updateMask` query parameter, using comma-separated field names. The request body includes the `Device` instance data. A successful operation returns an updated `Device` instance in the response body. `https://www.googleapis.com/auth/sasportal` authorization scope is required.\n"]]