DriveCapabilities class

Capabilities the current user has on this shared drive.

Constructors

DriveCapabilities()
DriveCapabilities.fromJson(Map _json)

Properties

canAddChildren bool
Whether the current user can add children to folders in this shared drive.
read / write
canChangeCopyRequiresWriterPermissionRestriction bool
Whether the current user can change the copyRequiresWriterPermission restriction of this shared drive.
read / write
canChangeDomainUsersOnlyRestriction bool
Whether the current user can change the domainUsersOnly restriction of this shared drive.
read / write
canChangeDriveBackground bool
Whether the current user can change the background of this shared drive.
read / write
canChangeDriveMembersOnlyRestriction bool
Whether the current user can change the driveMembersOnly restriction of this shared drive.
read / write
canComment bool
Whether the current user can comment on files in this shared drive.
read / write
canCopy bool
Whether the current user can copy files in this shared drive.
read / write
canDeleteChildren bool
Whether the current user can delete children from folders in this shared drive.
read / write
canDeleteDrive bool
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.
read / write
canDownload bool
Whether the current user can download files in this shared drive.
read / write
canEdit bool
Whether the current user can edit files in this shared drive
read / write
canListChildren bool
Whether the current user can list the children of folders in this shared drive.
read / write
canManageMembers bool
Whether the current user can add members to this shared drive or remove them or change their role.
read / write
canReadRevisions bool
Whether the current user can read the revisions resource of files in this shared drive.
read / write
canRename bool
Whether the current user can rename files or folders in this shared drive.
read / write
canRenameDrive bool
Whether the current user can rename this shared drive.
read / write
canShare bool
Whether the current user can share files or folders in this shared drive.
read / write
canTrashChildren bool
Whether the current user can trash children from folders in this shared drive.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited