Class Drive.CapabilitiesData
Capabilities the current user has on this shared drive.
Inheritance
Inherited Members
Namespace: Google.Apis.Drive.v2.Data
Assembly: Google.Apis.Drive.v2.dll
Syntax
public class Drive.CapabilitiesData
Properties
CanAddChildren
Whether the current user can add children to folders in this shared drive.
Declaration
[JsonProperty("canAddChildren")]
public virtual bool? CanAddChildren { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
CanChangeCopyRequiresWriterPermissionRestriction
Whether the current user can change the copyRequiresWriterPermission restriction of this shared drive.
Declaration
[JsonProperty("canChangeCopyRequiresWriterPermissionRestriction")]
public virtual bool? CanChangeCopyRequiresWriterPermissionRestriction { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
CanChangeDomainUsersOnlyRestriction
Whether the current user can change the domainUsersOnly restriction of this shared drive.
Declaration
[JsonProperty("canChangeDomainUsersOnlyRestriction")]
public virtual bool? CanChangeDomainUsersOnlyRestriction { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
CanChangeDriveBackground
Whether the current user can change the background of this shared drive.
Declaration
[JsonProperty("canChangeDriveBackground")]
public virtual bool? CanChangeDriveBackground { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
CanChangeDriveMembersOnlyRestriction
Whether the current user can change the driveMembersOnly restriction of this shared drive.
Declaration
[JsonProperty("canChangeDriveMembersOnlyRestriction")]
public virtual bool? CanChangeDriveMembersOnlyRestriction { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
CanComment
Whether the current user can comment on files in this shared drive.
Declaration
[JsonProperty("canComment")]
public virtual bool? CanComment { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
CanCopy
Whether the current user can copy files in this shared drive.
Declaration
[JsonProperty("canCopy")]
public virtual bool? CanCopy { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
CanDeleteChildren
Whether the current user can delete children from folders in this shared drive.
Declaration
[JsonProperty("canDeleteChildren")]
public virtual bool? CanDeleteChildren { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
CanDeleteDrive
Whether the current user can delete this shared drive. Attempting to delete the shared drive may still fail if there are untrashed items inside the shared drive.
Declaration
[JsonProperty("canDeleteDrive")]
public virtual bool? CanDeleteDrive { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
CanDownload
Whether the current user can download files in this shared drive.
Declaration
[JsonProperty("canDownload")]
public virtual bool? CanDownload { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
CanEdit
Whether the current user can edit files in this shared drive
Declaration
[JsonProperty("canEdit")]
public virtual bool? CanEdit { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
CanListChildren
Whether the current user can list the children of folders in this shared drive.
Declaration
[JsonProperty("canListChildren")]
public virtual bool? CanListChildren { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
CanManageMembers
Whether the current user can add members to this shared drive or remove them or change their role.
Declaration
[JsonProperty("canManageMembers")]
public virtual bool? CanManageMembers { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
CanReadRevisions
Whether the current user can read the revisions resource of files in this shared drive.
Declaration
[JsonProperty("canReadRevisions")]
public virtual bool? CanReadRevisions { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
CanRename
Whether the current user can rename files or folders in this shared drive.
Declaration
[JsonProperty("canRename")]
public virtual bool? CanRename { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
CanRenameDrive
Whether the current user can rename this shared drive.
Declaration
[JsonProperty("canRenameDrive")]
public virtual bool? CanRenameDrive { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
CanResetDriveRestrictions
Whether the current user can reset the shared drive restrictions to defaults.
Declaration
[JsonProperty("canResetDriveRestrictions")]
public virtual bool? CanResetDriveRestrictions { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
CanShare
Whether the current user can share files or folders in this shared drive.
Declaration
[JsonProperty("canShare")]
public virtual bool? CanShare { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
CanTrashChildren
Whether the current user can trash children from folders in this shared drive.
Declaration
[JsonProperty("canTrashChildren")]
public virtual bool? CanTrashChildren { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |