Method: nodes.nodes.devices.create
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
एचटीटीपी अनुरोध
POST https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/nodes/*}/devices
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल होता है.
पाथ पैरामीटर
पैरामीटर |
parent |
string
ज़रूरी है. पैरंट रिसॉर्स का नाम.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में 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) को अपडेट किया गया.
[[["समझने में आसान है","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"]],["आखिरी बार 2022-11-02 (UTC) को अपडेट किया गया."],[[["Creates a device under a node or customer."],["Uses `POST https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/nodes/*}/devices` as the HTTP request."],["Requires `parent` as a path parameter to specify the name of the parent resource."],["The request body should contain a Device instance, and a successful response will return the newly created Device instance."],["Needs `https://www.googleapis.com/auth/sasportal` authorization scope."]]],["This describes the creation of a device resource. A `POST` request is sent to a specified URL, with the parent resource name provided as a path parameter. The request body includes a `Device` instance. Upon success, a new `Device` instance is returned in the response body. The operation requires a specific OAuth scope: `https://www.googleapis.com/auth/sasportal`. The URL uses gRPC Transcoding syntax.\n"]]