Page Summary
-
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
etagis used for optimistic concurrency control, preventing simultaneous updates from overwriting each other.
Defines an access control policy to the resources.
| JSON representation |
|---|
{
"assignments"
:
[
{
object (
|
| Fields | |
|---|---|
assignments[]
|
List of |
etag
|
The etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An etag is returned in the response to If no etag is provided in the call to A base64-encoded string. |
Assignment
Associates members
with a role
.
| JSON representation |
|---|
{ "role" : string , "members" : [ string ] } |
role
string
Required. Role that is assigned to members
.
members[]
string
The identities the role is assigned to. It can have the following values:
-
{user_email}: An email address that represents a specific Google account. For example:alice@gmail.com. -
{group_email}: An email address that represents a Google group. For example,viewers@gmail.com.

