Class File.CapabilitiesData
Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
public class File.CapabilitiesData
- Inheritance
-
File.CapabilitiesData
- Inherited Members
Constructors
CapabilitiesData()
public CapabilitiesData()
Properties
CanAddChildren
Whether the current user can add children to this folder. This is always false when the item is not a folder.
public virtual bool? CanAddChildren { get; set; }
Property Value
- bool?
CanAddFolderFromAnotherDrive
Whether the current user can add a folder from another drive (different shared drive or My Drive) to this folder. This is false when the item is not a folder. Only populated for items in shared drives.
public virtual bool? CanAddFolderFromAnotherDrive { get; set; }
Property Value
- bool?
CanAddMyDriveParent
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.
public virtual bool? CanAddMyDriveParent { get; set; }
Property Value
- bool?
CanChangeCopyRequiresWriterPermission
Whether the current user can change the copyRequiresWriterPermission restriction of this file.
public virtual bool? CanChangeCopyRequiresWriterPermission { get; set; }
Property Value
- bool?
CanChangeViewersCanCopyContent
Deprecated
public virtual bool? CanChangeViewersCanCopyContent { get; set; }
Property Value
- bool?
CanComment
Whether the current user can comment on this file.
public virtual bool? CanComment { get; set; }
Property Value
- bool?
CanCopy
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.
public virtual bool? CanCopy { get; set; }
Property Value
- bool?
CanDelete
Whether the current user can delete this file.
public virtual bool? CanDelete { get; set; }
Property Value
- bool?
CanDeleteChildren
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.
public virtual bool? CanDeleteChildren { get; set; }
Property Value
- bool?
CanDownload
Whether the current user can download this file.
public virtual bool? CanDownload { get; set; }
Property Value
- bool?
CanEdit
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.
public virtual bool? CanEdit { get; set; }
Property Value
- bool?
CanListChildren
Whether the current user can list the children of this folder. This is always false when the item is not a folder.
public virtual bool? CanListChildren { get; set; }
Property Value
- bool?
CanModifyContent
Whether the current user can modify the content of this file.
public virtual bool? CanModifyContent { get; set; }
Property Value
- bool?
CanModifyContentRestriction
Whether the current user can modify restrictions on content of this file.
public virtual bool? CanModifyContentRestriction { get; set; }
Property Value
- bool?
CanMoveChildrenOutOfDrive
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.
public virtual bool? CanMoveChildrenOutOfDrive { get; set; }
Property Value
- bool?
CanMoveChildrenOutOfTeamDrive
Deprecated - use canMoveChildrenOutOfDrive instead.
public virtual bool? CanMoveChildrenOutOfTeamDrive { get; set; }
Property Value
- bool?
CanMoveChildrenWithinDrive
Whether the current user can move children of this folder within this drive. This is false when the item is not a folder. Note that a request to move the child may still fail depending on the current user's access to the child and to the destination folder.
public virtual bool? CanMoveChildrenWithinDrive { get; set; }
Property Value
- bool?
CanMoveChildrenWithinTeamDrive
Deprecated - use canMoveChildrenWithinDrive instead.
public virtual bool? CanMoveChildrenWithinTeamDrive { get; set; }
Property Value
- bool?
CanMoveItemIntoTeamDrive
Deprecated - use canMoveItemOutOfDrive instead.
public virtual bool? CanMoveItemIntoTeamDrive { get; set; }
Property Value
- bool?
CanMoveItemOutOfDrive
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.
public virtual bool? CanMoveItemOutOfDrive { get; set; }
Property Value
- bool?
CanMoveItemOutOfTeamDrive
Deprecated - use canMoveItemOutOfDrive instead.
public virtual bool? CanMoveItemOutOfTeamDrive { get; set; }
Property Value
- bool?
CanMoveItemWithinDrive
Whether the current user can move this item within this drive. Note that a request to change the parent of the item may still fail depending on the new parent that is being added and the parent that is being removed.
public virtual bool? CanMoveItemWithinDrive { get; set; }
Property Value
- bool?
CanMoveItemWithinTeamDrive
Deprecated - use canMoveItemWithinDrive instead.
public virtual bool? CanMoveItemWithinTeamDrive { get; set; }
Property Value
- bool?
CanMoveTeamDriveItem
Deprecated - use canMoveItemWithinDrive or canMoveItemOutOfDrive instead.
public virtual bool? CanMoveTeamDriveItem { get; set; }
Property Value
- bool?
CanReadDrive
Whether the current user can read the shared drive to which this file belongs. Only populated for items in shared drives.
public virtual bool? CanReadDrive { get; set; }
Property Value
- bool?
CanReadRevisions
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.
public virtual bool? CanReadRevisions { get; set; }
Property Value
- bool?
CanReadTeamDrive
Deprecated - use canReadDrive instead.
public virtual bool? CanReadTeamDrive { get; set; }
Property Value
- bool?
CanRemoveChildren
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.
public virtual bool? CanRemoveChildren { get; set; }
Property Value
- bool?
CanRemoveMyDriveParent
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.
public virtual bool? CanRemoveMyDriveParent { get; set; }
Property Value
- bool?
CanRename
Whether the current user can rename this file.
public virtual bool? CanRename { get; set; }
Property Value
- bool?
CanShare
Whether the current user can modify the sharing settings for this file.
public virtual bool? CanShare { get; set; }
Property Value
- bool?
CanTrash
Whether the current user can move this file to trash.
public virtual bool? CanTrash { get; set; }
Property Value
- bool?
CanTrashChildren
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.
public virtual bool? CanTrashChildren { get; set; }
Property Value
- bool?
CanUntrash
Whether the current user can restore this file from trash.
public virtual bool? CanUntrash { get; set; }
Property Value
- bool?