Method: genericclass.update
הקוד מעדכן את הכיתה הגנרית שמוזכר בה מזהה הכיתה הנתון.
בקשת HTTP
PUT https://walletobjects.googleapis.com/walletobjects/v1/genericClass/{resourceId}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
resourceId |
string
המזהה הייחודי של הכיתה. המזהה הזה חייב להיות ייחודי בכל הכיתות של מנפיק. הערך צריך להיות בפורמט issuerID.identifier , שבו issuerID הונפק על ידי Google והערך identifier בחרת. המזהה הייחודי יכול לכלול רק תווים אלפאנומריים, . , _ או - .
|
גוף הבקשה
גוף הבקשה מכיל מופע של GenericClass
.
גוף התשובה
אם הפעולה מצליחה, גוף התגובה מכיל מופע של GenericClass
.
היקפי ההרשאות
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/wallet_object.issuer
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-11-04 (שעון UTC).
[null,null,["עדכון אחרון: 2024-11-04 (שעון UTC)."],[[["Updates an existing Generic class with a unique identifier using the provided request body data."],["The request must contain the class ID in the URL path and a GenericClass object in the body."],["A successful update returns the updated GenericClass object in the response."],["Authorization is required with the `wallet_object.issuer` scope for this operation."]]],[]]