Class Drive.CapabilitiesData
Capabilities the current user has on this shared drive.
Inheritance
Inherited Members
Namespace: Google.Apis.Drive.v3.Data
Assembly: Google.Apis.Drive.v3.dll
Syntax
public class 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 |
---|---|
System.Nullable<System.Boolean> |
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 |
---|---|
System.Nullable<System.Boolean> |
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 |
---|---|
System.Nullable<System.Boolean> |
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 |
---|---|
System.Nullable<System.Boolean> |
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 |
---|---|
System.Nullable<System.Boolean> |
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 |
---|---|
System.Nullable<System.Boolean> |
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 |
---|---|
System.Nullable<System.Boolean> |
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 |
---|---|
System.Nullable<System.Boolean> |
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 |
---|---|
System.Nullable<System.Boolean> |
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 |
---|---|
System.Nullable<System.Boolean> |
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 |
---|---|
System.Nullable<System.Boolean> |
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 |
---|---|
System.Nullable<System.Boolean> |
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 |
---|---|
System.Nullable<System.Boolean> |
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 |
---|---|
System.Nullable<System.Boolean> |
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 |
---|---|
System.Nullable<System.Boolean> |
CanRenameDrive
Whether the current user can rename this shared drive.
Declaration
[JsonProperty("canRenameDrive")]
public virtual bool? CanRenameDrive { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
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 |
---|---|
System.Nullable<System.Boolean> |
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 |
---|---|
System.Nullable<System.Boolean> |