REST Resource: permissions
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
משאב: הרשאות
ייצוג JSON |
{
"issuerId": string,
"permissions": [
{
object (Permission )
}
]
} |
שדות |
issuerId |
string (int64 format)
המזהה של המנפיק שאליו מתייחסת רשימת ההרשאות.
|
permissions[] |
object (Permission )
רשימת ההרשאות המלאה של החשבון המנפיק.
|
הרשאה
ייצוג JSON |
{
"emailAddress": string,
"role": enum (Role )
} |
שדות |
emailAddress |
string
כתובת האימייל של המשתמש, הקבוצה או חשבון השירות שאליו ההרשאה הזו מתייחסת.
|
role |
enum (Role )
התפקיד שההרשאה הזו מעניקה.
|
תפקיד
טיפוסים בני מנייה (enum) |
ROLE_UNSPECIFIED |
|
OWNER |
|
owner |
כינוי קודם של OWNER . הוצא משימוש. |
READER |
|
reader |
כינוי קודם של READER . הוצא משימוש. |
WRITER |
|
writer |
כינוי קודם של WRITER . הוצא משימוש. |
שיטות |
|
מחזירה את ההרשאות עבור מזהה המנפיק הנתון. |
|
מעדכן את ההרשאות של המנפיק הנתון. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003ePermissions define access levels (OWNER, READER, WRITER) for users, groups, or service accounts associated with an issuer ID.\u003c/p\u003e\n"],["\u003cp\u003ePermissions can be managed through the \u003ccode\u003eget\u003c/code\u003e and \u003ccode\u003eupdate\u003c/code\u003e methods to retrieve and modify access rights.\u003c/p\u003e\n"],["\u003cp\u003ePermissions are structured with an issuer ID and an array of individual permissions, each specifying an email address and a role.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePermissions\u003c/code\u003e resource provides a comprehensive list of permissions for a given issuer, enabling centralized access control.\u003c/p\u003e\n"]]],["Permissions are managed for an issuer, identified by an `issuerId`. The permission structure includes a list of `permissions`, each specifying an `emailAddress` and a granted `role`. Roles can be `OWNER`, `READER`, or `WRITER`; lowercase versions are deprecated aliases. Permissions can be retrieved using the `get` method by issuer id. The `update` method allows modifying the permissions list associated with a specified issuer.\n"],null,["# REST Resource: permissions\n\n- [Resource: Permissions](#Permissions)\n - [JSON representation](#Permissions.SCHEMA_REPRESENTATION)\n- [Permission](#Permission)\n - [JSON representation](#Permission.SCHEMA_REPRESENTATION)\n- [Role](#Role)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Permissions\n---------------------\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------|\n| ``` { \"issuerId\": string, \"permissions\": [ { object (/wallet/reference/rest/v1/permissions#Permission) } ] } ``` |\n\n| Fields ||\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------|\n| `issuerId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` ID of the issuer the list of permissions refer to. |\n| `permissions[]` | `object (`[Permission](/wallet/reference/rest/v1/permissions#Permission)`)` The complete list of permissions for the issuer account. |\n\nPermission\n----------\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------|\n| ``` { \"emailAddress\": string, \"role\": enum (/wallet/reference/rest/v1/permissions#Role) } ``` |\n\n| Fields ||\n|----------------|-------------------------------------------------------------------------------------------------------|\n| `emailAddress` | `string` The email address of the user, group, or service account to which this permission refers to. |\n| `role` | `enum (`[Role](/wallet/reference/rest/v1/permissions#Role)`)` The role granted by this permission. |\n\nRole\n----\n\n| Enums ||\n|--------------------|-------------------------------------------------------------------|\n| `ROLE_UNSPECIFIED` | |\n| `OWNER` | |\n| `owner` | Legacy alias for `OWNER`. Deprecated. | This item is deprecated! |\n| `READER` | |\n| `reader` | Legacy alias for `READER`. Deprecated. | This item is deprecated! |\n| `WRITER` | |\n| `writer` | Legacy alias for `WRITER`. Deprecated. | This item is deprecated! |\n\n| Methods ------- ||\n|------------------------------------------------------------|--------------------------------------------------|\n| ### [get](/wallet/reference/rest/v1/permissions/get) | Returns the permissions for the given issuer id. |\n| ### [update](/wallet/reference/rest/v1/permissions/update) | Updates the permissions for the given issuer. |"]]