Method: enterprises.devices.patch
בקשת HTTP
PATCH https://androidmanagement.googleapis.com/v1/{name=enterprises/*/devices/*}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
שם המכשיר בפורמט enterprises/{enterpriseId}/devices/{deviceId} .
|
פרמטרים של שאילתה
פרמטרים |
updateMask |
string (FieldMask format)
אנונימיזציה של השדות שמציינת את השדות שרוצים לעדכן. אם לא תגדירו את הפרמטר, כל השדות שניתנים לשינוי ישתנו. זוהי רשימה של שמות שדות מוגדרים במלואם, שמופרדים בפסיקים. דוגמה: "user.displayName,photo"
|
גוף הבקשה
גוף הבקשה מכיל מופע של Device
.
גוף התשובה
אם הפעולה מצליחה, גוף התגובה מכיל מופע של Device
.
היקפי הרשאה
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/androidmanagement
מידע נוסף זמין בOAuth 2.0 Overview.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-01-13 (שעון UTC).
[null,null,["עדכון אחרון: 2025-01-13 (שעון UTC)."],[[["Updates a device using an HTTP PATCH request to a specific URL with required path and optional query parameters."],["Requires `https://www.googleapis.com/auth/androidmanagement` OAuth scope for authorization."],["Request and response bodies utilize the `Device` object for data transfer."],["Path parameters specify the enterprise and device, while query parameters allow for selective field updates using a field mask."],["You can find more details about the `Device` object and authorization in the provided links."]]],[]]