Method: nodes.devices.patch
طلب HTTP
PATCH https://sasportal.googleapis.com/v1alpha1/{device.name=nodes/*/devices/*}
يستخدم عنوان URL بنية gRPC Transcoding.
معلّمات المسار
المَعلمات |
device.name |
string
الناتج فقط. اسم مسار المورد
|
معامِلات طلب البحث
المَعلمات |
updateMask |
string (FieldMask format)
الحقول المطلوب تعديلها. هذه قائمة مفصولة بفواصل للحقول المؤهلة بالكامل. مثال: "user.displayName,photo"
|
نص الطلب
يحتوي نص الطلب على مثال Device
.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال Device
.
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/sasportal
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2022-11-02 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2022-11-02 (حسب التوقيت العالمي المتفَّق عليه)"],[[["This operation updates a device's information using an HTTP PATCH request to a specific URL."],["The request should include path and query parameters, and the body should contain the updated device data in JSON format, as per the Device object specification."],["A successful response will return the updated Device object, indicating the changes have been applied."],["Authorization is required using the `https://www.googleapis.com/auth/sasportal` OAuth scope for this operation to be permitted."]]],["This document details updating a device via a PATCH request to a specified URL using gRPC Transcoding. The request targets a device resource identified by its path (`device.name`). Modifications are made using the `updateMask` query parameter, which dictates the fields to be updated. The request body holds the updated `Device` instance, and upon successful execution, the response body returns the modified `Device` data. Authorization requires the `sasportal` OAuth scope.\n"]]