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
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[],["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"]]