Class GoogleAppsDriveLabelsV2LabelPermission
The permission that applies to a principal (user, group, audience) on a label.
Implements
Inherited Members
Namespace: Google.Apis.DriveLabels.v2.Data
Assembly: Google.Apis.DriveLabels.v2.dll
Syntax
public class GoogleAppsDriveLabelsV2LabelPermission : IDirectResponseSchema
Properties
Audience
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.
Declaration
[JsonProperty("audience")]
public virtual string Audience { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Specifies the email address for a user or group pricinpal. Not populated for audience principals. User and Group permissions may only be inserted using email address. On update requests, if email address is specified, no principal should be specified.
Declaration
[JsonProperty("email")]
public virtual string Email { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Group
Group resource name.
Declaration
[JsonProperty("group")]
public virtual string Group { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Resource name of this permission.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Person
Person resource name.
Declaration
[JsonProperty("person")]
public virtual string Person { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Role
The role the principal should have.
Declaration
[JsonProperty("role")]
public virtual string Role { get; set; }
Property Value
| Type | Description |
|---|---|
| string |