Show / Hide Table of Contents

Class Permission

The permission setting of an object.

Inheritance
System.Object
Permission
Implements
IDirectResponseSchema
Namespace: Google.Apis.DriveActivity.v2.Data
Assembly: Google.Apis.DriveActivity.v2.dll
Syntax
public class Permission : object, IDirectResponseSchema

Properties

AllowDiscovery

If true, the item can be discovered (e.g. in the user's "Shared with me" collection) without needing a link to the item.

Declaration
public virtual Nullable<bool> AllowDiscovery { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Anyone

If set, this permission applies to anyone, even logged out users.

Declaration
public virtual Anyone Anyone { get; set; }
Property Value
Type Description
Anyone

Domain

The domain to whom this permission applies.

Declaration
public virtual Domain Domain { get; set; }
Property Value
Type Description
Domain

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Group

The group to whom this permission applies.

Declaration
public virtual Group Group { get; set; }
Property Value
Type Description
Group

Role

Indicates the Google Drive permissions role. The role determines a user's ability to read, write, and comment on items.

Declaration
public virtual string Role { get; set; }
Property Value
Type Description
System.String

User

The user to whom this permission applies.

Declaration
public virtual User User { get; set; }
Property Value
Type Description
User

Implements

IDirectResponseSchema
Back to top