Resource: LabelPermission
The permission that applies to a principal (user, group, audience) on a label.
| JSON representation | 
|---|
| { "name" : string , "email" : string , "role" : enum ( | 
Fields
 
name 
 string 
Resource name of this permission.
email 
 string 
Specifies the email address for a user or group principal. Not populated for audience principals. User and group permissions may only be inserted using an email address. On update requests, if email address is specified, no principal should be specified.
role 
 enum (  
 LabelRole 
 
)
The role the principal should have.
Union field 
 
principal 
. The principal this permission applies to. Must be either an email, user, group, or audience. Example: * people/12345 
* groups/45678 
* audiences/default 
 principal 
can be only one of the following:person 
 string 
Person resource name.
group 
 string 
Group resource name.
audience 
 string 
Audience to grant a role to. The magic value of audiences/default 
may be used to apply the role to the default audience in the context of the organization that owns the label.
| Methods | |
|---|---|
|   | Deletes label permissions. | 
|   | Updates label permissions. | 
|   | Updates a label's permissions. | 
|   | Deletes a label's permission. | 
|   | Lists a label's permissions. | 

