REST Resource: permissions
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:Permissions
JSON 表示法 |
{
"issuerId": string,
"permissions": [
{
object (Permission )
}
]
} |
字段 |
issuerId |
string (int64 format)
权限列表所引用的发卡机构的 ID。
|
permissions[] |
object (Permission )
发卡机构账号权限的完整列表。
|
权限
JSON 表示法 |
{
"emailAddress": string,
"role": enum (Role )
} |
字段 |
emailAddress |
string
该权限所指向的用户、群组或服务账号的电子邮件地址。
|
role |
enum (Role )
此权限授予的角色。
|
角色
枚举 |
ROLE_UNSPECIFIED |
|
OWNER |
|
owner |
OWNER 的旧别名,已弃用。
|
READER |
|
reader |
READER 的旧别名,已弃用。
|
WRITER |
|
writer |
WRITER 的旧别名,已弃用。
|
方法 |
|
返回指定发卡机构 ID 的权限。 |
|
更新指定发卡机构的权限。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\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. |"]]