TeamDriveCapabilities class
Capabilities the current user has on this Team Drive.
Constructors
- TeamDriveCapabilities({bool? canAddChildren, bool? canChangeCopyRequiresWriterPermissionRestriction, bool? canChangeDomainUsersOnlyRestriction, bool? canChangeSharingFoldersRequiresOrganizerPermissionRestriction, bool? canChangeTeamDriveBackground, bool? canChangeTeamMembersOnlyRestriction, bool? canComment, bool? canCopy, bool? canDeleteChildren, bool? canDeleteTeamDrive, bool? canDownload, bool? canEdit, bool? canListChildren, bool? canManageMembers, bool? canReadRevisions, bool? canRemoveChildren, bool? canRename, bool? canRenameTeamDrive, bool? canResetTeamDriveRestrictions, bool? canTrashChildren})
- TeamDriveCapabilities.fromJson(Map json_)
Properties
- canAddChildren ↔ bool?
-
Whether the current user can add children to folders in this Team Drive.
getter/setter pair
- canChangeCopyRequiresWriterPermissionRestriction ↔ bool?
-
Whether the current user can change the
copyRequiresWriterPermission
restriction of this Team Drive.getter/setter pair - canChangeDomainUsersOnlyRestriction ↔ bool?
-
Whether the current user can change the
domainUsersOnly
restriction of this Team Drive.getter/setter pair - canChangeSharingFoldersRequiresOrganizerPermissionRestriction ↔ bool?
-
Whether the current user can change the
sharingFoldersRequiresOrganizerPermission
restriction of this Team Drive.getter/setter pair - canChangeTeamDriveBackground ↔ bool?
-
Whether the current user can change the background of this Team Drive.
getter/setter pair
- canChangeTeamMembersOnlyRestriction ↔ bool?
-
Whether the current user can change the
teamMembersOnly
restriction of this Team Drive.getter/setter pair - canComment ↔ bool?
-
Whether the current user can comment on files in this Team Drive.
getter/setter pair
- canCopy ↔ bool?
-
Whether the current user can copy files in this Team Drive.
getter/setter pair
- canDeleteChildren ↔ bool?
-
Whether the current user can delete children from folders in this Team
Drive.
getter/setter pair
- canDeleteTeamDrive ↔ bool?
-
Whether the current user can delete this Team Drive.
getter/setter pair
- canDownload ↔ bool?
-
Whether the current user can download files in this Team Drive.
getter/setter pair
- canEdit ↔ bool?
-
Whether the current user can edit files in this Team Drive
getter/setter pair
- canListChildren ↔ bool?
-
Whether the current user can list the children of folders in this Team
Drive.
getter/setter pair
- canManageMembers ↔ bool?
-
Whether the current user can add members to this Team Drive or remove them
or change their role.
getter/setter pair
- canReadRevisions ↔ bool?
-
Whether the current user can read the revisions resource of files in this
Team Drive.
getter/setter pair
- canRemoveChildren ↔ bool?
-
Deprecated: Use
canDeleteChildren
orcanTrashChildren
instead.getter/setter pair - canRename ↔ bool?
-
Whether the current user can rename files or folders in this Team Drive.
getter/setter pair
- canRenameTeamDrive ↔ bool?
-
Whether the current user can rename this Team Drive.
getter/setter pair
- canResetTeamDriveRestrictions ↔ bool?
-
Whether the current user can reset the Team Drive restrictions to
defaults.
getter/setter pair
-
Whether the current user can share files or folders in this Team Drive.
getter/setter pair
- canTrashChildren ↔ bool?
-
Whether the current user can trash children from folders in this Team
Drive.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited