All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.drive.model.TeamDrive.Capabilities.html Maven / Gradle / Ivy







TeamDrive.Capabilities (Drive API v2-rev20180830-1.26.0)












com.google.api.services.drive.model

Class TeamDrive.Capabilities

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>
    Enclosing class:
    TeamDrive


    public static final class TeamDrive.Capabilities
    extends com.google.api.client.json.GenericJson
    Capabilities the current user has on this Team Drive.
    • Constructor Detail

      • Capabilities

        public Capabilities()
    • Method Detail

      • getCanAddChildren

        public Boolean getCanAddChildren()
        Whether the current user can add children to folders in this Team Drive.
        Returns:
        value or null for none
      • setCanAddChildren

        public TeamDrive.Capabilities setCanAddChildren(Boolean canAddChildren)
        Whether the current user can add children to folders in this Team Drive.
        Parameters:
        canAddChildren - canAddChildren or null for none
      • getCanChangeCopyRequiresWriterPermissionRestriction

        public Boolean getCanChangeCopyRequiresWriterPermissionRestriction()
        Whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive.
        Returns:
        value or null for none
      • setCanChangeCopyRequiresWriterPermissionRestriction

        public TeamDrive.Capabilities setCanChangeCopyRequiresWriterPermissionRestriction(Boolean canChangeCopyRequiresWriterPermissionRestriction)
        Whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive.
        Parameters:
        canChangeCopyRequiresWriterPermissionRestriction - canChangeCopyRequiresWriterPermissionRestriction or null for none
      • getCanChangeDomainUsersOnlyRestriction

        public Boolean getCanChangeDomainUsersOnlyRestriction()
        Whether the current user can change the domainUsersOnly restriction of this Team Drive.
        Returns:
        value or null for none
      • setCanChangeDomainUsersOnlyRestriction

        public TeamDrive.Capabilities setCanChangeDomainUsersOnlyRestriction(Boolean canChangeDomainUsersOnlyRestriction)
        Whether the current user can change the domainUsersOnly restriction of this Team Drive.
        Parameters:
        canChangeDomainUsersOnlyRestriction - canChangeDomainUsersOnlyRestriction or null for none
      • getCanChangeTeamDriveBackground

        public Boolean getCanChangeTeamDriveBackground()
        Whether the current user can change the background of this Team Drive.
        Returns:
        value or null for none
      • setCanChangeTeamDriveBackground

        public TeamDrive.Capabilities setCanChangeTeamDriveBackground(Boolean canChangeTeamDriveBackground)
        Whether the current user can change the background of this Team Drive.
        Parameters:
        canChangeTeamDriveBackground - canChangeTeamDriveBackground or null for none
      • getCanChangeTeamMembersOnlyRestriction

        public Boolean getCanChangeTeamMembersOnlyRestriction()
        Whether the current user can change the teamMembersOnly restriction of this Team Drive.
        Returns:
        value or null for none
      • setCanChangeTeamMembersOnlyRestriction

        public TeamDrive.Capabilities setCanChangeTeamMembersOnlyRestriction(Boolean canChangeTeamMembersOnlyRestriction)
        Whether the current user can change the teamMembersOnly restriction of this Team Drive.
        Parameters:
        canChangeTeamMembersOnlyRestriction - canChangeTeamMembersOnlyRestriction or null for none
      • getCanComment

        public Boolean getCanComment()
        Whether the current user can comment on files in this Team Drive.
        Returns:
        value or null for none
      • setCanComment

        public TeamDrive.Capabilities setCanComment(Boolean canComment)
        Whether the current user can comment on files in this Team Drive.
        Parameters:
        canComment - canComment or null for none
      • getCanCopy

        public Boolean getCanCopy()
        Whether the current user can copy files in this Team Drive.
        Returns:
        value or null for none
      • setCanCopy

        public TeamDrive.Capabilities setCanCopy(Boolean canCopy)
        Whether the current user can copy files in this Team Drive.
        Parameters:
        canCopy - canCopy or null for none
      • getCanDeleteChildren

        public Boolean getCanDeleteChildren()
        Whether the current user can delete children from folders in this Team Drive.
        Returns:
        value or null for none
      • setCanDeleteChildren

        public TeamDrive.Capabilities setCanDeleteChildren(Boolean canDeleteChildren)
        Whether the current user can delete children from folders in this Team Drive.
        Parameters:
        canDeleteChildren - canDeleteChildren or null for none
      • getCanDeleteTeamDrive

        public Boolean getCanDeleteTeamDrive()
        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.
        Returns:
        value or null for none
      • setCanDeleteTeamDrive

        public TeamDrive.Capabilities setCanDeleteTeamDrive(Boolean canDeleteTeamDrive)
        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.
        Parameters:
        canDeleteTeamDrive - canDeleteTeamDrive or null for none
      • getCanDownload

        public Boolean getCanDownload()
        Whether the current user can download files in this Team Drive.
        Returns:
        value or null for none
      • setCanDownload

        public TeamDrive.Capabilities setCanDownload(Boolean canDownload)
        Whether the current user can download files in this Team Drive.
        Parameters:
        canDownload - canDownload or null for none
      • getCanEdit

        public Boolean getCanEdit()
        Whether the current user can edit files in this Team Drive
        Returns:
        value or null for none
      • setCanEdit

        public TeamDrive.Capabilities setCanEdit(Boolean canEdit)
        Whether the current user can edit files in this Team Drive
        Parameters:
        canEdit - canEdit or null for none
      • getCanListChildren

        public Boolean getCanListChildren()
        Whether the current user can list the children of folders in this Team Drive.
        Returns:
        value or null for none
      • setCanListChildren

        public TeamDrive.Capabilities setCanListChildren(Boolean canListChildren)
        Whether the current user can list the children of folders in this Team Drive.
        Parameters:
        canListChildren - canListChildren or null for none
      • getCanManageMembers

        public Boolean getCanManageMembers()
        Whether the current user can add members to this Team Drive or remove them or change their role.
        Returns:
        value or null for none
      • setCanManageMembers

        public TeamDrive.Capabilities setCanManageMembers(Boolean canManageMembers)
        Whether the current user can add members to this Team Drive or remove them or change their role.
        Parameters:
        canManageMembers - canManageMembers or null for none
      • getCanReadRevisions

        public Boolean getCanReadRevisions()
        Whether the current user can read the revisions resource of files in this Team Drive.
        Returns:
        value or null for none
      • setCanReadRevisions

        public TeamDrive.Capabilities setCanReadRevisions(Boolean canReadRevisions)
        Whether the current user can read the revisions resource of files in this Team Drive.
        Parameters:
        canReadRevisions - canReadRevisions or null for none
      • getCanRemoveChildren

        public Boolean getCanRemoveChildren()
        Deprecated - use canDeleteChildren or canTrashChildren instead.
        Returns:
        value or null for none
      • setCanRemoveChildren

        public TeamDrive.Capabilities setCanRemoveChildren(Boolean canRemoveChildren)
        Deprecated - use canDeleteChildren or canTrashChildren instead.
        Parameters:
        canRemoveChildren - canRemoveChildren or null for none
      • getCanRename

        public Boolean getCanRename()
        Whether the current user can rename files or folders in this Team Drive.
        Returns:
        value or null for none
      • setCanRename

        public TeamDrive.Capabilities setCanRename(Boolean canRename)
        Whether the current user can rename files or folders in this Team Drive.
        Parameters:
        canRename - canRename or null for none
      • getCanRenameTeamDrive

        public Boolean getCanRenameTeamDrive()
        Whether the current user can rename this Team Drive.
        Returns:
        value or null for none
      • setCanRenameTeamDrive

        public TeamDrive.Capabilities setCanRenameTeamDrive(Boolean canRenameTeamDrive)
        Whether the current user can rename this Team Drive.
        Parameters:
        canRenameTeamDrive - canRenameTeamDrive or null for none
      • getCanShare

        public Boolean getCanShare()
        Whether the current user can share files or folders in this Team Drive.
        Returns:
        value or null for none
      • setCanShare

        public TeamDrive.Capabilities setCanShare(Boolean canShare)
        Whether the current user can share files or folders in this Team Drive.
        Parameters:
        canShare - canShare or null for none
      • getCanTrashChildren

        public Boolean getCanTrashChildren()
        Whether the current user can trash children from folders in this Team Drive.
        Returns:
        value or null for none
      • setCanTrashChildren

        public TeamDrive.Capabilities setCanTrashChildren(Boolean canTrashChildren)
        Whether the current user can trash children from folders in this Team Drive.
        Parameters:
        canTrashChildren - canTrashChildren or null for none
      • clone

        public TeamDrive.Capabilities clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2018 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy