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







TeamDrive.Restrictions (Drive API v2-rev20180830-1.26.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
      • 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–2018 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy