Google Apps Script API
    Preparing search index...

    Capabilities the current user has on this Team Drive.

    interface TeamDriveCapabilities {
        canAddChildren?: boolean;
        canChangeCopyRequiresWriterPermissionRestriction?: boolean;
        canChangeDomainUsersOnlyRestriction?: boolean;
        canChangeSharingFoldersRequiresOrganizerPermissionRestriction?: boolean;
        canChangeTeamDriveBackground?: boolean;
        canChangeTeamMembersOnlyRestriction?: boolean;
        canComment?: boolean;
        canCopy?: boolean;
        canDeleteChildren?: boolean;
        canDeleteTeamDrive?: boolean;
        canDownload?: boolean;
        canEdit?: boolean;
        canListChildren?: boolean;
        canManageMembers?: boolean;
        canReadRevisions?: boolean;
        canRemoveChildren?: boolean;
        canRename?: boolean;
        canRenameTeamDrive?: boolean;
        canResetTeamDriveRestrictions?: boolean;
        canShare?: boolean;
        canTrashChildren?: boolean;
    }
    Index

    Properties

    canAddChildren?: boolean

    Whether the current user can add children to folders in this Team Drive.

    canChangeCopyRequiresWriterPermissionRestriction?: boolean

    Whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive.

    canChangeDomainUsersOnlyRestriction?: boolean

    Whether the current user can change the domainUsersOnly restriction of this Team Drive.

    canChangeSharingFoldersRequiresOrganizerPermissionRestriction?: boolean

    Whether the current user can change the sharingFoldersRequiresOrganizerPermission restriction of this Team Drive.

    canChangeTeamDriveBackground?: boolean

    Whether the current user can change the background of this Team Drive.

    canChangeTeamMembersOnlyRestriction?: boolean

    Whether the current user can change the teamMembersOnly restriction of this Team Drive.

    canComment?: boolean

    Whether the current user can comment on files in this Team Drive.

    canCopy?: boolean

    Whether the current user can copy files in this Team Drive.

    canDeleteChildren?: boolean

    Whether the current user can delete children from folders in this Team Drive.

    canDeleteTeamDrive?: boolean

    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.

    canDownload?: boolean

    Whether the current user can download files in this Team Drive.

    canEdit?: boolean

    Whether the current user can edit files in this Team Drive

    canListChildren?: boolean

    Whether the current user can list the children of folders in this Team Drive.

    canManageMembers?: boolean

    Whether the current user can add members to this Team Drive or remove them or change their role.

    canReadRevisions?: boolean

    Whether the current user can read the revisions resource of files in this Team Drive.

    canRemoveChildren?: boolean

    Deprecated: Use canDeleteChildren or canTrashChildren instead.

    canRename?: boolean

    Whether the current user can rename files or folders in this Team Drive.

    canRenameTeamDrive?: boolean

    Whether the current user can rename this Team Drive.

    canResetTeamDriveRestrictions?: boolean

    Whether the current user can reset the Team Drive restrictions to defaults.

    canShare?: boolean

    Whether the current user can share files or folders in this Team Drive.

    canTrashChildren?: boolean

    Whether the current user can trash children from folders in this Team Drive.