Method: nodes.devices.move
HTTP リクエスト
POST https://sasportal.googleapis.com/v1alpha1/{name=nodes/*/devices/*}:move
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
必須。移動するデバイスの名前。
|
リクエスト本文
リクエストの本文には次の構造のデータが含まれます。
JSON 表現 |
{
"destination": string
} |
フィールド |
destination |
string
必須。デバイスを親に再設定する新しい親リソース node または customer の名前。
|
レスポンスの本文
成功した場合、レスポンスの本文には Operation
のインスタンスが含まれます。
認証スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/sasportal
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2022-11-02 UTC。
[null,null,["最終更新日 2022-11-02 UTC。"],[[["Moves a device under another node or customer within the Spectrum Access System."],["Requires an HTTP POST request to the specified URL with the device name in the path."],["The request body must contain the destination node or customer name for the device move."],["A successful response returns an Operation object indicating the status of the move."],["Requires authorization with the `https://www.googleapis.com/auth/sasportal` scope."]]],["This document details the process of moving a device to a different parent resource (node or customer). It uses a POST request to the specified URL, with the device's name as a required path parameter. The request body, formatted as JSON, must include the `destination` field, which specifies the new parent resource's name. A successful request returns an `Operation` instance. The action requires OAuth scope: `https://www.googleapis.com/auth/sasportal`.\n"]]