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
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2022-11-02 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2022-11-02 بهوقت ساعت هماهنگ جهانی."],[[["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"]]