Method: nodes.nodes.create
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک node
جدید ایجاد می کند.
درخواست HTTP
POST https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*}/nodes
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
مولفه های |
---|
parent | string ضروری. نام منبع والد که در آن گره قرار است ایجاد شود. |
درخواست بدن
بدنه درخواست شامل یک نمونه از Node
است.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی نمونه جدیدی از Node
است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/userinfo.email
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2022-09-26 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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-09-26 بهوقت ساعت هماهنگ جهانی."],[[["Creates a new node resource within a specified parent resource using an HTTP POST request."],["Requires providing the parent resource name as a path parameter and a Node object in the request body."],["Upon successful creation, the API returns the newly created Node object in the response body."],["The request needs to be authorized with the `https://www.googleapis.com/auth/userinfo.email` scope."]]],["A new node is created using a `POST` request to the specified URL, which includes the parent node in the path. The `parent` path parameter is required. The request body must contain a `Node` instance. A successful operation returns a newly created `Node` instance in the response body. The process requires the `https://www.googleapis.com/auth/userinfo.email` authorization scope. The URL syntax is based on gRPC Transcoding.\n"]]