Method: nodes.nodes.create
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Yêu cầu HTTP
POST https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*}/nodes
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Các tham số |
parent |
string
Bắt buộc. Tên tài nguyên mẹ tạo nút.
|
Nội dung yêu cầu
Nội dung yêu cầu chứa một bản sao của Node
.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một thực thể mới được tạo của Node
.
Phạm vi cấp phép
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/userinfo.email
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2022-09-26 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2022-09-26 UTC."],[[["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"]]