Method: enterprises.patch
בקשת HTTP
PATCH https://androidmanagement.googleapis.com/v1/{name=enterprises/*}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
שם הארגון בפורמט enterprises/{enterpriseId} .
|
פרמטרים של שאילתה
פרמטרים |
updateMask |
string (FieldMask format)
אנונימיזציה של השדות שמציינת את השדות שרוצים לעדכן. אם לא תגדירו את הפרמטר, כל השדות שניתנים לשינוי ישתנו. זוהי רשימה של שמות שדות מוגדרים במלואם, שמופרדים בפסיקים. דוגמה: "user.displayName,photo"
|
גוף הבקשה
גוף הבקשה מכיל מופע של Enterprise
.
גוף התשובה
אם הפעולה מצליחה, גוף התגובה מכיל מופע של Enterprise
.
היקפי הרשאה
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/androidmanagement
מידע נוסף זמין בOAuth 2.0 Overview.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-02-19 (שעון UTC).
[null,null,["עדכון אחרון: 2025-02-19 (שעון UTC)."],[[["This operation updates an existing enterprise using a PATCH request to the specified URL."],["You can specify fields to be updated using the `updateMask` query parameter or update all modifiable fields by leaving it unset."],["The request body should contain an `Enterprise` object with the desired modifications."],["A successful update will return the updated `Enterprise` object in the response body."],["Authorization requires the `https://www.googleapis.com/auth/androidmanagement` scope."]]],["This outlines the process of updating an enterprise via a `PATCH` request to a specific URL: `https://androidmanagement.googleapis.com/v1/{name=enterprises/*}`. The `name` path parameter specifies the enterprise ID. The `updateMask` query parameter determines which fields to modify. The request body includes the updated `Enterprise` data, and a successful response also returns an `Enterprise` instance. The operation requires `https://www.googleapis.com/auth/androidmanagement` authorization scope.\n"]]