Page Summary
-
AccessBinding is a resource that binds a user to a set of roles.
-
The JSON representation of an AccessBinding includes fields for
name,roles, anduser. -
AccessBinding resources have several available methods including batch operations for creating, deleting, getting, and updating bindings, as well as individual operations.
Resource: AccessBinding
A binding of a user to a set of roles.
| JSON representation |
|---|
{ "name" : string , "roles" : [ string ] , // Union field |
name
string
Output only. Resource name of this binding.
Format: accounts/{account}/accessBindings/{accessBinding} or properties/{property}/accessBindings/{accessBinding}
Example: "accounts/100/accessBindings/200"
roles[]
string
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.
access_target
. The target for which to set roles for. access_target
can be only one of the following:user
string
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. |

