Method: deployments.devices.patch
בקשת HTTP
PATCH https://sasportal.googleapis.com/v1alpha1/{device.name=deployments/*/devices/*}
כתובת ה-URL כוללת תחביר gRPC קידוד מחדש.
פרמטרים של נתיב
פרמטרים |
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 (שעון UTC).
[null,null,["עדכון אחרון: 2022-11-02 (שעון UTC)."],[[["Updates an existing device within a deployment using an HTTP PATCH request."],["The request must target a specific device using its resource path in the URL."],["You can specify fields to update with the `updateMask` query parameter using FieldMask format."],["The request body should contain the updated device details in the Device object format, and the response will return the updated device if successful."],["Requires the `https://www.googleapis.com/auth/sasportal` OAuth scope for authorization."]]],["This document details the process of updating a device via a `PATCH` request to a specific URL: `https://sasportal.googleapis.com/v1alpha1/{device.name=deployments/*/devices/*}`. The `device.name` is a required path parameter. Optional updates are specified using the `updateMask` query parameter. The request body must contain a `Device` instance. A successful operation returns a `Device` instance in the response body. This operation requires the `https://www.googleapis.com/auth/sasportal` OAuth scope for authorization.\n"]]