Method: nodes.devices.move
एचटीटीपी अनुरोध
POST https://sasportal.googleapis.com/v1alpha1/{name=nodes/*/devices/*}:move
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल होता है.
पाथ पैरामीटर
पैरामीटर |
name |
string
ज़रूरी है. उस डिवाइस का नाम जिस पर कर्सर ले जाना है.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य हिस्से में ये स्ट्रक्चर शामिल हैं:
जेएसओएन के काेड में दिखाना |
{
"destination": string
} |
फ़ील्ड |
destination |
string
ज़रूरी है. डिवाइस को ठीक से दिखाने के लिए, नए पैरंट रिसॉर्स node या customer का नाम.
|
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में Operation
का एक इंस्टेंस शामिल किया जाता है.
अनुमति पाने के लिंक
नीचे दिए गए 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) को अपडेट किया गया."],[[["Moves a device under another node or customer within the Spectrum Access System."],["Requires an HTTP POST request to the specified URL with the device name in the path."],["The request body must contain the destination node or customer name for the device move."],["A successful response returns an Operation object indicating the status of the move."],["Requires authorization with the `https://www.googleapis.com/auth/sasportal` scope."]]],["This document details the process of moving a device to a different parent resource (node or customer). It uses a POST request to the specified URL, with the device's name as a required path parameter. The request body, formatted as JSON, must include the `destination` field, which specifies the new parent resource's name. A successful request returns an `Operation` instance. The action requires OAuth scope: `https://www.googleapis.com/auth/sasportal`.\n"]]