Page Summary
-
AccessBinding represents a user's roles for a specific account or property.
-
An AccessBinding resource includes a name, a list of roles, and the user's email address.
-
Various methods are available for managing AccessBindings, including creating, deleting, getting, listing, and updating both single and multiple bindings.
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. |

