Show / Hide Table of Contents

Class Permission

The permission setting of an object.

Inheritance
object
Permission
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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
bool?

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
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
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
In this article
Back to top Generated by DocFX