Method: permissions.get
הפונקציה מחזירה את ההרשאות של מזהה המנפיק הנתון.
בקשת HTTP
GET https://walletobjects.googleapis.com/walletobjects/v1/permissions/{resourceId}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
resourceId |
string (int64 format)
המזהה הייחודי של המנפיק. המזהה הזה חייב להיות ייחודי לכל המנפיקים.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה מצליחה, גוף התגובה מכיל מופע של Permissions
.
היקפי הרשאה
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/wallet_object.issuer
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-11-07 (שעון UTC).
[null,null,["עדכון אחרון: 2024-11-07 (שעון UTC)."],[[["Retrieves permissions associated with a specific issuer ID using a GET request."],["Requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope for authorization."],["Utilizes a path parameter to specify the issuer ID, which must be unique and in `int64` format."],["Response provides permission details in the form of a `Permissions` object if the request is successful."],["The request body should be empty for this operation."]]],[]]