Method: deployments.groups.update
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מתבצע עדכון של group
. הפונקציה מחזירה את הערך INVALID_ARGUMENT אם שם הקבוצה לא ריק ולא שווה לשם הקיים.
בקשת HTTP
PUT https://androidovertheair.googleapis.com/v1/{name=deployments/*/groups/*}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
שם המשאב היחסי. לדוגמה: 'Deployments/deployment_x/groups/group_g'
|
גוף הבקשה
גוף הבקשה מכיל נתונים במבנה הבא:
ייצוג JSON |
{
"group": {
object (Group )
},
"versionTag": {
object (VersionTag )
}
} |
שדות |
group |
object (Group )
חובה. Group שצריך לעדכן.
|
versionTag |
object (VersionTag )
חובה. הקבוצה שצריך לעדכן צריכה להתאים לגרסה הזו. אם לקוח אחר יעדכן את ההגדרה הקיימת בו-זמנית, פעולת העדכון תיכשל.
|
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע של Group
.
היקפי ההרשאות
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/android_partner_over_the_air
למידע נוסף, קראו את המאמר סקירה כללית של OAuth 2.0.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-26 (שעון UTC)."],[],["This document details how to update a group using a `PUT` HTTP request to `https://androidovertheair.googleapis.com/v1/{name=deployments/*/groups/*}`. The `name` parameter in the URL specifies the group to update. The request body, in JSON format, requires a `group` object for updating, and a `versionTag` object. Successful updates return a `Group` instance in the response. This action requires the `https://www.googleapis.com/auth/android_partner_over_the_air` authorization scope. The update will fail if the group name is non-empty and not equal to the existing name, or if another client concurrently updates the config.\n"]]