Class Permission.PermissionDetailsData
Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
Inheritance
Inherited Members
Namespace: Google.Apis.Drive.v2.Data
Assembly: Google.Apis.Drive.v2.dll
Syntax
public class Permission.PermissionDetailsData
Properties
AdditionalRoles
Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
Declaration
[JsonProperty("additionalRoles")]
public virtual IList<string> AdditionalRoles { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<T><string> |
Inherited
Whether this permission is inherited. This field is always populated. This is an output-only field.
Declaration
[JsonProperty("inherited")]
public virtual bool? Inherited { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
InheritedFrom
The ID of the item from which this permission is inherited. This is an output-only field.
Declaration
[JsonProperty("inheritedFrom")]
public virtual string InheritedFrom { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PermissionType
The permission type for this user. While new values may be added in future, the following are currently possible: - file - member
Declaration
[JsonProperty("permissionType")]
public virtual string PermissionType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Role
The primary role for this user. While new values may be added in the future, the following are currently possible: - organizer - fileOrganizer - writer - reader
Declaration
[JsonProperty("role")]
public virtual string Role { get; set; }
Property Value
| Type | Description |
|---|---|
| string |