Method: nodes.devices.patch
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
एचटीटीपी अनुरोध
PATCH https://sasportal.googleapis.com/v1alpha1/{device.name=nodes/*/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 एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["This document explains how to update a device using the Spectrum Access System API with an HTTP PATCH request."],["It details the required HTTP request structure, including path and query parameters, request body format, and expected response."],["Authentication is necessary using the `https://www.googleapis.com/auth/userinfo.email` OAuth scope for successful device updates."],["The request body and successful response body both contain an instance of the `Device` object as defined in the provided link."]]],["This document details updating a device via a PATCH request to a specified URL endpoint. The URL structure is defined using gRPC Transcoding syntax, with a required `device.name` path parameter. An optional `updateMask` query parameter dictates which fields to update. The request body carries the updated device data, and a successful response returns the updated device information. Authorization requires the `https://www.googleapis.com/auth/userinfo.email` OAuth scope.\n"]]