Package | Description |
---|---|
com.google.api.services.drive.model |
Modifier and Type | Method and Description |
---|---|
Drive.Capabilities |
Drive.Capabilities.clone() |
Drive.Capabilities |
Drive.getCapabilities()
Capabilities the current user has on this shared drive.
|
Drive.Capabilities |
Drive.Capabilities.set(String fieldName,
Object value) |
Drive.Capabilities |
Drive.Capabilities.setCanAddChildren(Boolean canAddChildren)
Whether the current user can add children to folders in this shared drive.
|
Drive.Capabilities |
Drive.Capabilities.setCanChangeCopyRequiresWriterPermissionRestriction(Boolean canChangeCopyRequiresWriterPermissionRestriction)
Whether the current user can change the copyRequiresWriterPermission restriction of this shared
drive.
|
Drive.Capabilities |
Drive.Capabilities.setCanChangeDomainUsersOnlyRestriction(Boolean canChangeDomainUsersOnlyRestriction)
Whether the current user can change the domainUsersOnly restriction of this shared drive.
|
Drive.Capabilities |
Drive.Capabilities.setCanChangeDriveBackground(Boolean canChangeDriveBackground)
Whether the current user can change the background of this shared drive.
|
Drive.Capabilities |
Drive.Capabilities.setCanChangeDriveMembersOnlyRestriction(Boolean canChangeDriveMembersOnlyRestriction)
Whether the current user can change the driveMembersOnly restriction of this shared drive.
|
Drive.Capabilities |
Drive.Capabilities.setCanChangeSharingFoldersRequiresOrganizerPermissionRestriction(Boolean canChangeSharingFoldersRequiresOrganizerPermissionRestriction)
Whether the current user can change the sharingFoldersRequiresOrganizerPermission restriction
of this shared drive.
|
Drive.Capabilities |
Drive.Capabilities.setCanComment(Boolean canComment)
Whether the current user can comment on files in this shared drive.
|
Drive.Capabilities |
Drive.Capabilities.setCanCopy(Boolean canCopy)
Whether the current user can copy files in this shared drive.
|
Drive.Capabilities |
Drive.Capabilities.setCanDeleteChildren(Boolean canDeleteChildren)
Whether the current user can delete children from folders in this shared drive.
|
Drive.Capabilities |
Drive.Capabilities.setCanDeleteDrive(Boolean canDeleteDrive)
Whether the current user can delete this shared drive.
|
Drive.Capabilities |
Drive.Capabilities.setCanDownload(Boolean canDownload)
Whether the current user can download files in this shared drive.
|
Drive.Capabilities |
Drive.Capabilities.setCanEdit(Boolean canEdit)
Whether the current user can edit files in this shared drive
|
Drive.Capabilities |
Drive.Capabilities.setCanListChildren(Boolean canListChildren)
Whether the current user can list the children of folders in this shared drive.
|
Drive.Capabilities |
Drive.Capabilities.setCanManageMembers(Boolean canManageMembers)
Whether the current user can add members to this shared drive or remove them or change their
role.
|
Drive.Capabilities |
Drive.Capabilities.setCanReadRevisions(Boolean canReadRevisions)
Whether the current user can read the revisions resource of files in this shared drive.
|
Drive.Capabilities |
Drive.Capabilities.setCanRename(Boolean canRename)
Whether the current user can rename files or folders in this shared drive.
|
Drive.Capabilities |
Drive.Capabilities.setCanRenameDrive(Boolean canRenameDrive)
Whether the current user can rename this shared drive.
|
Drive.Capabilities |
Drive.Capabilities.setCanResetDriveRestrictions(Boolean canResetDriveRestrictions)
Whether the current user can reset the shared drive restrictions to defaults.
|
Drive.Capabilities |
Drive.Capabilities.setCanShare(Boolean canShare)
Whether the current user can share files or folders in this shared drive.
|
Drive.Capabilities |
Drive.Capabilities.setCanTrashChildren(Boolean canTrashChildren)
Whether the current user can trash children from folders in this shared drive.
|
Modifier and Type | Method and Description |
---|---|
Drive |
Drive.setCapabilities(Drive.Capabilities capabilities)
Capabilities the current user has on this shared drive.
|
Copyright © 2011–2023 Google. All rights reserved.