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

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

There is a newer version: v3-rev20241027-2.0.0
Show newest version






TeamDrive.Restrictions (Google Drive API v3-rev20240809-2.0.0)












com.google.api.services.drive.model

Class TeamDrive.Restrictions

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


    public static final class TeamDrive.Restrictions
    extends com.google.api.client.json.GenericJson
    A set of restrictions that apply to this Team Drive or items inside this Team Drive.
    • Constructor Detail

      • Restrictions

        public Restrictions()
    • Method Detail

      • getAdminManagedRestrictions

        public Boolean getAdminManagedRestrictions()
        Whether administrative privileges on this Team Drive are required to modify restrictions.
        Returns:
        value or null for none
      • setAdminManagedRestrictions

        public TeamDrive.Restrictions setAdminManagedRestrictions(Boolean adminManagedRestrictions)
        Whether administrative privileges on this Team Drive are required to modify restrictions.
        Parameters:
        adminManagedRestrictions - adminManagedRestrictions or null for none
      • getCopyRequiresWriterPermission

        public Boolean getCopyRequiresWriterPermission()
        Whether the options to copy, print, or download files inside this Team Drive, should be disabled for readers and commenters. When this restriction is set to `true`, it will override the similarly named field to `true` for any file inside this Team Drive.
        Returns:
        value or null for none
      • setCopyRequiresWriterPermission

        public TeamDrive.Restrictions setCopyRequiresWriterPermission(Boolean copyRequiresWriterPermission)
        Whether the options to copy, print, or download files inside this Team Drive, should be disabled for readers and commenters. When this restriction is set to `true`, it will override the similarly named field to `true` for any file inside this Team Drive.
        Parameters:
        copyRequiresWriterPermission - copyRequiresWriterPermission or null for none
      • getDomainUsersOnly

        public Boolean getDomainUsersOnly()
        Whether access to this Team Drive and items inside this Team Drive is restricted to users of the domain to which this Team Drive belongs. This restriction may be overridden by other sharing policies controlled outside of this Team Drive.
        Returns:
        value or null for none
      • setDomainUsersOnly

        public TeamDrive.Restrictions setDomainUsersOnly(Boolean domainUsersOnly)
        Whether access to this Team Drive and items inside this Team Drive is restricted to users of the domain to which this Team Drive belongs. This restriction may be overridden by other sharing policies controlled outside of this Team Drive.
        Parameters:
        domainUsersOnly - domainUsersOnly or null for none
      • getSharingFoldersRequiresOrganizerPermission

        public Boolean getSharingFoldersRequiresOrganizerPermission()
        If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders.
        Returns:
        value or null for none
      • setSharingFoldersRequiresOrganizerPermission

        public TeamDrive.Restrictions setSharingFoldersRequiresOrganizerPermission(Boolean sharingFoldersRequiresOrganizerPermission)
        If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders.
        Parameters:
        sharingFoldersRequiresOrganizerPermission - sharingFoldersRequiresOrganizerPermission or null for none
      • getTeamMembersOnly

        public Boolean getTeamMembersOnly()
        Whether access to items inside this Team Drive is restricted to members of this Team Drive.
        Returns:
        value or null for none
      • setTeamMembersOnly

        public TeamDrive.Restrictions setTeamMembersOnly(Boolean teamMembersOnly)
        Whether access to items inside this Team Drive is restricted to members of this Team Drive.
        Parameters:
        teamMembersOnly - teamMembersOnly or null for none
      • clone

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

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy