Resource: AccessBinding
A binding of a user to a set of roles.
JSON representation |
---|
{ "name": string, "roles": [ string ], // Union field |
Fields | |
---|---|
name |
Output only. Resource name of this binding. Format: accounts/{account}/accessBindings/{accessBinding} or properties/{property}/accessBindings/{accessBinding} Example: "accounts/100/accessBindings/200" |
roles[] |
A list of roles for to grant to the parent resource. Valid values: predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-data For users, if an empty list of roles is set, this AccessBinding will be deleted. |
Union field access_target . The target for which to set roles for. access_target can be only one of the following: |
|
user |
If set, the email address of the user to set roles for. Format: "someuser@gmail.com" |
Methods |
|
---|---|
|
Creates information about multiple access bindings to an account or property. |
|
Deletes information about multiple users' links to an account or property. |
|
Gets information about multiple access bindings to an account or property. |
|
Updates information about multiple access bindings to an account or property. |
|
Creates an access binding on an account or property. |
|
Deletes an access binding on an account or property. |
|
Gets information about an access binding. |
|
Lists all access bindings on an account or property. |
|
Updates an access binding on an account or property. |