Show / Hide Table of Contents

Class Permission

The permission setting of an object.

Inheritance
System.Object
Permission
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.DriveActivity.v2.Data
Assembly: Google.Apis.DriveActivity.v2.dll
Syntax
public class Permission : 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
[JsonProperty("allowDiscovery")]
public virtual 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
[JsonProperty("anyone")]
public virtual Anyone Anyone { get; set; }
Property Value
Type Description
Anyone

Domain

The domain to whom this permission applies.

Declaration
[JsonProperty("domain")]
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
[JsonProperty("group")]
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
[JsonProperty("role")]
public virtual string Role { get; set; }
Property Value
Type Description
System.String

User

The user to whom this permission applies.

Declaration
[JsonProperty("user")]
public virtual User User { get; set; }
Property Value
Type Description
User

Implements

IDirectResponseSchema
Back to top