Method: nodes.nodes.nodes.create
یک node
جدید ایجاد می کند.
درخواست HTTP
POST https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/nodes/*}/nodes
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
مولفه های |
---|
parent | string ضروری. نام منبع والد که در آن گره قرار است ایجاد شود. |
درخواست بدن
بدنه درخواست شامل یک نمونه از Node
است.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی نمونه جدیدی از Node
است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/sasportal
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2022-11-02 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2022-11-02 بهوقت ساعت هماهنگ جهانی."],[[["Creates a new node resource within a specified parent node using an HTTP POST request."],["Requires providing the parent resource name as a path parameter in the URL."],["The request body should contain a Node object defining the properties of the new node."],["A successful response returns the newly created Node object."],["Authorization requires the `https://www.googleapis.com/auth/sasportal` scope."]]],["This document details how to create a new node using a `POST` request to a specific URL: `https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/nodes/*}/nodes`. The `parent` path parameter, a string, is required to specify the parent resource. The request body must contain a `Node` instance. A successful request returns a newly created `Node` instance in the response body. Authorization requires the `https://www.googleapis.com/auth/sasportal` OAuth scope.\n"]]