Policy
JSON 表示法 |
{
"assignments": [
{
object (Assignment )
}
],
"etag": string
} |
作业
JSON 表示法 |
{
"role": string,
"members": [
string
]
} |
字段 |
role |
string
必需。分配给 members 的角色。
|
members[] |
string
角色被分配的身份。它可以具有以下值:
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-11-02。
[null,null,["最后更新时间 (UTC):2022-11-02。"],[[["This document defines an access control policy for resources, utilizing JSON for representation."],["The policy includes assignments which associate members with specific roles."],["Roles determine the level of access granted to assigned members, which can be individuals or groups."],["An `etag` is used for optimistic concurrency control, preventing simultaneous updates from overwriting each other."]]],["The content defines access control policies for resources using JSON. A policy includes an array of \"assignments\" and an \"etag\" for concurrency control. Assignments link \"members\" to a specified \"role,\" with members being Google account emails or group emails. Systems use the etag in read-modify-write cycles to prevent overwriting. The \"role\" field is a required string, and members represent identities granted the specified role.\n"]]