Method: nodes.devices.create
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
درخواست HTTP
POST https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*}/devices
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
| پارامترها |
|---|
parent | string مورد نیاز. نام منبع والد. |
درخواست بدن
بدنه درخواست شامل یک نمونه از Device است.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی یک نمونه جدید از Device است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/sasportal
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[],["This describes the process of creating a device. A `POST` request is sent to `https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*}/devices`, where `parent` specifies the resource (node or customer). The request body includes device details. A successful response returns the newly created device instance. Authorization requires the `https://www.googleapis.com/auth/sasportal` OAuth scope. The document also references the path parameters, HTTP request format, request and response body structure.\n"]]