drive  v3
Properties | List of all members
Google.Apis.Drive.v3.Data.File.CapabilitiesData Class Reference

Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take. More...

Properties

virtual System.Nullable< bool > CanAddChildren [get, set]
 Whether the current user can add children to this folder. This is always false when the item is not a folder. More...
 
virtual System.Nullable< bool > CanAddMyDriveParent [get, set]
 Whether the current user can add a parent for the item without removing an existing parent in the same request. Not populated for shared drive files. More...
 
virtual System.Nullable< bool > CanChangeCopyRequiresWriterPermission [get, set]
 Whether the current user can change the copyRequiresWriterPermission restriction of this file. More...
 
virtual System.Nullable< bool > CanChangeViewersCanCopyContent [get, set]
 Deprecated More...
 
virtual System.Nullable< bool > CanComment [get, set]
 Whether the current user can comment on this file. More...
 
virtual System.Nullable< bool > CanCopy [get, set]
 Whether the current user can copy this file. For an item in a shared drive, whether the current user can copy non-folder descendants of this item, or this item itself if it is not a folder. More...
 
virtual System.Nullable< bool > CanDelete [get, set]
 Whether the current user can delete this file. More...
 
virtual System.Nullable< bool > CanDeleteChildren [get, set]
 Whether the current user can delete children of this folder. This is false when the item is not a folder. Only populated for items in shared drives. More...
 
virtual System.Nullable< bool > CanDownload [get, set]
 Whether the current user can download this file. More...
 
virtual System.Nullable< bool > CanEdit [get, set]
 Whether the current user can edit this file. Other factors may limit the type of changes a user can make to a file. For example, see canChangeCopyRequiresWriterPermission or canModifyContent. More...
 
virtual System.Nullable< bool > CanListChildren [get, set]
 Whether the current user can list the children of this folder. This is always false when the item is not a folder. More...
 
virtual System.Nullable< bool > CanModifyContent [get, set]
 Whether the current user can modify the content of this file. More...
 
virtual System.Nullable< bool > CanMoveChildrenOutOfDrive [get, set]
 Whether the current user can move children of this folder outside of the shared drive. This is false when the item is not a folder. Only populated for items in shared drives. More...
 
virtual System.Nullable< bool > CanMoveChildrenOutOfTeamDrive [get, set]
 Deprecated - use canMoveChildrenOutOfDrive instead. More...
 
virtual System.Nullable< bool > CanMoveChildrenWithinDrive [get, set]
 Whether the current user can move children of this folder within the shared drive. This is false when the item is not a folder. Only populated for items in shared drives. More...
 
virtual System.Nullable< bool > CanMoveChildrenWithinTeamDrive [get, set]
 Deprecated - use canMoveChildrenWithinDrive instead. More...
 
virtual System.Nullable< bool > CanMoveItemIntoTeamDrive [get, set]
 Deprecated - use canMoveItemOutOfDrive instead. More...
 
virtual System.Nullable< bool > CanMoveItemOutOfDrive [get, set]
 Whether the current user can move this item outside of this drive by changing its parent. Note that a request to change the parent of the item may still fail depending on the new parent that is being added. More...
 
virtual System.Nullable< bool > CanMoveItemOutOfTeamDrive [get, set]
 Deprecated - use canMoveItemOutOfDrive instead. More...
 
virtual System.Nullable< bool > CanMoveItemWithinDrive [get, set]
 Whether the current user can move this item within this shared drive. Note that a request to change the parent of the item may still fail depending on the new parent that is being added. Only populated for items in shared drives. More...
 
virtual System.Nullable< bool > CanMoveItemWithinTeamDrive [get, set]
 Deprecated - use canMoveItemWithinDrive instead. More...
 
virtual System.Nullable< bool > CanMoveTeamDriveItem [get, set]
 Deprecated - use canMoveItemWithinDrive or canMoveItemOutOfDrive instead. More...
 
virtual System.Nullable< bool > CanReadDrive [get, set]
 Whether the current user can read the shared drive to which this file belongs. Only populated for items in shared drives. More...
 
virtual System.Nullable< bool > CanReadRevisions [get, set]
 Whether the current user can read the revisions resource of this file. For a shared drive item, whether revisions of non-folder descendants of this item, or this item itself if it is not a folder, can be read. More...
 
virtual System.Nullable< bool > CanReadTeamDrive [get, set]
 Deprecated - use canReadDrive instead. More...
 
virtual System.Nullable< bool > CanRemoveChildren [get, set]
 Whether the current user can remove children from this folder. This is always false when the item is not a folder. For a folder in a shared drive, use canDeleteChildren or canTrashChildren instead. More...
 
virtual System.Nullable< bool > CanRemoveMyDriveParent [get, set]
 Whether the current user can remove a parent from the item without adding another parent in the same request. Not populated for shared drive files. More...
 
virtual System.Nullable< bool > CanRename [get, set]
 Whether the current user can rename this file. More...
 
virtual System.Nullable< bool > CanShare [get, set]
 Whether the current user can modify the sharing settings for this file. More...
 
virtual System.Nullable< bool > CanTrash [get, set]
 Whether the current user can move this file to trash. More...
 
virtual System.Nullable< bool > CanTrashChildren [get, set]
 Whether the current user can trash children of this folder. This is false when the item is not a folder. Only populated for items in shared drives. More...
 
virtual System.Nullable< bool > CanUntrash [get, set]
 Whether the current user can restore this file from trash. More...
 

Detailed Description

Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.

Property Documentation

◆ CanAddChildren

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanAddChildren
getset

Whether the current user can add children to this folder. This is always false when the item is not a folder.

◆ CanAddMyDriveParent

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanAddMyDriveParent
getset

Whether the current user can add a parent for the item without removing an existing parent in the same request. Not populated for shared drive files.

◆ CanChangeCopyRequiresWriterPermission

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanChangeCopyRequiresWriterPermission
getset

Whether the current user can change the copyRequiresWriterPermission restriction of this file.

◆ CanChangeViewersCanCopyContent

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanChangeViewersCanCopyContent
getset

Deprecated

◆ CanComment

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanComment
getset

Whether the current user can comment on this file.

◆ CanCopy

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanCopy
getset

Whether the current user can copy this file. For an item in a shared drive, whether the current user can copy non-folder descendants of this item, or this item itself if it is not a folder.

◆ CanDelete

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanDelete
getset

Whether the current user can delete this file.

◆ CanDeleteChildren

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanDeleteChildren
getset

Whether the current user can delete children of this folder. This is false when the item is not a folder. Only populated for items in shared drives.

◆ CanDownload

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanDownload
getset

Whether the current user can download this file.

◆ CanEdit

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanEdit
getset

Whether the current user can edit this file. Other factors may limit the type of changes a user can make to a file. For example, see canChangeCopyRequiresWriterPermission or canModifyContent.

◆ CanListChildren

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanListChildren
getset

Whether the current user can list the children of this folder. This is always false when the item is not a folder.

◆ CanModifyContent

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanModifyContent
getset

Whether the current user can modify the content of this file.

◆ CanMoveChildrenOutOfDrive

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanMoveChildrenOutOfDrive
getset

Whether the current user can move children of this folder outside of the shared drive. This is false when the item is not a folder. Only populated for items in shared drives.

◆ CanMoveChildrenOutOfTeamDrive

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanMoveChildrenOutOfTeamDrive
getset

Deprecated - use canMoveChildrenOutOfDrive instead.

◆ CanMoveChildrenWithinDrive

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanMoveChildrenWithinDrive
getset

Whether the current user can move children of this folder within the shared drive. This is false when the item is not a folder. Only populated for items in shared drives.

◆ CanMoveChildrenWithinTeamDrive

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanMoveChildrenWithinTeamDrive
getset

Deprecated - use canMoveChildrenWithinDrive instead.

◆ CanMoveItemIntoTeamDrive

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanMoveItemIntoTeamDrive
getset

Deprecated - use canMoveItemOutOfDrive instead.

◆ CanMoveItemOutOfDrive

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanMoveItemOutOfDrive
getset

Whether the current user can move this item outside of this drive by changing its parent. Note that a request to change the parent of the item may still fail depending on the new parent that is being added.

◆ CanMoveItemOutOfTeamDrive

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanMoveItemOutOfTeamDrive
getset

Deprecated - use canMoveItemOutOfDrive instead.

◆ CanMoveItemWithinDrive

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanMoveItemWithinDrive
getset

Whether the current user can move this item within this shared drive. Note that a request to change the parent of the item may still fail depending on the new parent that is being added. Only populated for items in shared drives.

◆ CanMoveItemWithinTeamDrive

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanMoveItemWithinTeamDrive
getset

Deprecated - use canMoveItemWithinDrive instead.

◆ CanMoveTeamDriveItem

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanMoveTeamDriveItem
getset

Deprecated - use canMoveItemWithinDrive or canMoveItemOutOfDrive instead.

◆ CanReadDrive

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanReadDrive
getset

Whether the current user can read the shared drive to which this file belongs. Only populated for items in shared drives.

◆ CanReadRevisions

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanReadRevisions
getset

Whether the current user can read the revisions resource of this file. For a shared drive item, whether revisions of non-folder descendants of this item, or this item itself if it is not a folder, can be read.

◆ CanReadTeamDrive

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanReadTeamDrive
getset

Deprecated - use canReadDrive instead.

◆ CanRemoveChildren

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanRemoveChildren
getset

Whether the current user can remove children from this folder. This is always false when the item is not a folder. For a folder in a shared drive, use canDeleteChildren or canTrashChildren instead.

◆ CanRemoveMyDriveParent

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanRemoveMyDriveParent
getset

Whether the current user can remove a parent from the item without adding another parent in the same request. Not populated for shared drive files.

◆ CanRename

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanRename
getset

Whether the current user can rename this file.

◆ CanShare

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanShare
getset

Whether the current user can modify the sharing settings for this file.

◆ CanTrash

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanTrash
getset

Whether the current user can move this file to trash.

◆ CanTrashChildren

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanTrashChildren
getset

Whether the current user can trash children of this folder. This is false when the item is not a folder. Only populated for items in shared drives.

◆ CanUntrash

virtual System.Nullable<bool> Google.Apis.Drive.v3.Data.File.CapabilitiesData.CanUntrash
getset

Whether the current user can restore this file from trash.


The documentation for this class was generated from the following file: