REST Resource: properties.accessBindings

Resource: AccessBinding

A binding of a user to a set of roles.

JSON representation
{
  "name": string,
  "roles": [
    string
  ],

  // Union field access_target can be only one of the following:
  "user": string
  // End of list of possible types for union field access_target.
}
Fields
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.

Union field 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: "[email protected]"

Methods

batchCreate

Creates information about multiple access bindings to an account or property.

batchDelete

Deletes information about multiple users' links to an account or property.

batchGet

Gets information about multiple access bindings to an account or property.

batchUpdate

Updates information about multiple access bindings to an account or property.

create

Creates an access binding on an account or property.

delete

Deletes an access binding on an account or property.

get

Gets information about an access binding.

list

Lists all access bindings on an account or property.

patch

Updates an access binding on an account or property.