Method: customers.nodes.move
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
HTTP 要求
POST https://sasportal.googleapis.com/v1alpha1/{name=customers/*/nodes/*}:move
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
name |
string
必要欄位。要移動的 node 名稱。
|
要求主體
要求主體的資料會採用以下結構:
JSON 表示法 |
{
"destination": string
} |
欄位 |
destination |
string
必要欄位。新父項資源 node 或 customer 的名稱,節點將重新歸類至該資源下。
|
回應主體
如果成功,回應主體會包含 Operation
的執行例項。
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/sasportal
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eMoves a node under another node or customer within the Spectrum Access System.\u003c/p\u003e\n"],["\u003cp\u003eRequires a POST request to the specific endpoint with the node's name as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain the destination's name (node or customer) for the move.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful responses return an Operation object, indicating the status of the move.\u003c/p\u003e\n"],["\u003cp\u003eUsers need the 'sasportal' OAuth scope for authorization to perform this action.\u003c/p\u003e\n"]]],["This describes moving a node to a new parent node or customer using a POST request to a specified URL. The request requires a `name` path parameter indicating the node to move. The request body, in JSON format, includes the `destination` field, which specifies the new parent node or customer's name. A successful operation returns an Operation instance in the response body. Authorization requires the `https://www.googleapis.com/auth/sasportal` OAuth scope.\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/v1alpha1/customers.nodes#Node) under another [node](/spectrum-access-system/reference/rest/v1alpha1/customers.nodes#Node) or [customer](/spectrum-access-system/reference/rest/v1alpha1/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://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|--------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the [node](/spectrum-access-system/reference/rest/v1alpha1/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/v1alpha1/customers.nodes#Node) or [customer](/spectrum-access-system/reference/rest/v1alpha1/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/v1alpha1/Operation).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/sasportal`"]]