Method: customers.nodes.move
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/{name=customers/*/nodes/*}:move
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
name |
string
Bắt buộc. Tên của node cần di chuyển.
|
Nội dung yêu cầu
Nội dung yêu cầu chứa dữ liệu có cấu trúc sau:
Biểu diễn dưới dạng JSON |
{
"destination": string
} |
Trường |
destination |
string
Bắt buộc. Tên của tài nguyên mẹ mới node hoặc Customer ) để đổi tài nguyên mẹ cho nút.
|
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 phiên bản của Operation
.
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: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eMoves a node under another node or customer within the Spectrum Access System.\u003c/p\u003e\n"],["\u003cp\u003eRequires a POST request to a specific URL with the node's name as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain the destination node or customer's name.\u003c/p\u003e\n"],["\u003cp\u003eA successful response returns an Operation object and requires specific authorization scopes.\u003c/p\u003e\n"]]],["This document outlines how to move a node using a POST HTTP request to a specific URL. The request requires a node's name as a path parameter. The request body, in JSON format, must include the `destination` field, specifying the new parent node or customer. A successful operation returns an `Operation` instance. Authorization requires the `userinfo.email` OAuth scope. The process leverages gRPC Transcoding syntax for the URL.\n"],null,["# Method: customers.nodes.move\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n\nMoves a [node](/spectrum-access-system/reference/rest/customers.nodes#Node) under another [node](/spectrum-access-system/reference/rest/customers.nodes#Node) or [customer](/spectrum-access-system/reference/rest/customers#Customer).\n\n### HTTP request\n\n`POST https://sasportal.googleapis.com/v1alpha1/{name=customers/*/nodes/*}:move`\n\nThe URL uses [gRPC Transcoding](https://github.com/googleapis/googleapis/blob/master/google/api/http.proto) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|-----------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the [node](/spectrum-access-system/reference/rest/customers.nodes#Node) to move. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation ||\n|-----------------------------------|---|\n| ``` { \"destination\": string } ``` |\n\n| Fields ||\n|---------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `destination` | `string` Required. The name of the new parent resource [node](/spectrum-access-system/reference/rest/customers.nodes#Node) or [Customer](/spectrum-access-system/reference/rest/customers#Customer)) to reparent the node under. |\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/spectrum-access-system/reference/rest/Operation).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/userinfo.email`"]]