TeamDriveCapabilities class

Capabilities the current user has on this Team Drive.

Constructors

TeamDriveCapabilities()
TeamDriveCapabilities.fromJson(Map _json)

Properties

canAddChildren bool
Whether the current user can add children to folders in this Team Drive.
read / write
canChangeCopyRequiresWriterPermissionRestriction bool
Whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive.
read / write
canChangeDomainUsersOnlyRestriction bool
Whether the current user can change the domainUsersOnly restriction of this Team Drive.
read / write
canChangeTeamDriveBackground bool
Whether the current user can change the background of this Team Drive.
read / write
canChangeTeamMembersOnlyRestriction bool
Whether the current user can change the teamMembersOnly restriction of this Team Drive.
read / write
canComment bool
Whether the current user can comment on files in this Team Drive.
read / write
canCopy bool
Whether the current user can copy files in this Team Drive.
read / write
canDeleteChildren bool
Whether the current user can delete children from folders in this Team Drive.
read / write
canDeleteTeamDrive bool
Whether the current user can delete this Team Drive. Attempting to delete the Team Drive may still fail if there are untrashed items inside the Team Drive.
read / write
canDownload bool
Whether the current user can download files in this Team Drive.
read / write
canEdit bool
Whether the current user can edit files in this Team Drive
read / write
canListChildren bool
Whether the current user can list the children of folders in this Team Drive.
read / write
canManageMembers bool
Whether the current user can add members to this Team 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 Team Drive.
read / write
canRemoveChildren bool
Deprecated - use canDeleteChildren or canTrashChildren instead.
read / write
canRename bool
Whether the current user can rename files or folders in this Team Drive.
read / write
canRenameTeamDrive bool
Whether the current user can rename this Team Drive.
read / write
canShare bool
Whether the current user can share files or folders in this Team Drive.
read / write
canTrashChildren bool
Whether the current user can trash children from folders in this Team 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