com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
Restrictions()  | 
| Modifier and Type | Method and Description | 
|---|---|
TeamDrive.Restrictions | 
clone()  | 
Boolean | 
getAdminManagedRestrictions()
Whether administrative privileges on this Team Drive are required to modify restrictions. 
 | 
Boolean | 
getCopyRequiresWriterPermission()
Whether the options to copy, print, or download files inside this Team Drive, should be
 disabled for readers and commenters. 
 | 
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. 
 | 
DownloadRestriction | 
getDownloadRestriction()
Download restrictions applied by shared drive managers. 
 | 
Boolean | 
getSharingFoldersRequiresOrganizerPermission()
If true, only users with the organizer role can share folders. 
 | 
Boolean | 
getTeamMembersOnly()
Whether access to items inside this Team Drive is restricted to members of this Team Drive. 
 | 
TeamDrive.Restrictions | 
set(String fieldName,
   Object value)  | 
TeamDrive.Restrictions | 
setAdminManagedRestrictions(Boolean adminManagedRestrictions)
Whether administrative privileges on this Team Drive are required to modify restrictions. 
 | 
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. 
 | 
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. 
 | 
TeamDrive.Restrictions | 
setDownloadRestriction(DownloadRestriction downloadRestriction)
Download restrictions applied by shared drive managers. 
 | 
TeamDrive.Restrictions | 
setSharingFoldersRequiresOrganizerPermission(Boolean sharingFoldersRequiresOrganizerPermission)
If true, only users with the organizer role can share folders. 
 | 
TeamDrive.Restrictions | 
setTeamMembersOnly(Boolean teamMembersOnly)
Whether access to items inside this Team Drive is restricted to members of this Team Drive. 
 | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getAdminManagedRestrictions()
null for nonepublic TeamDrive.Restrictions setAdminManagedRestrictions(Boolean adminManagedRestrictions)
adminManagedRestrictions - adminManagedRestrictions or null for nonepublic Boolean getCopyRequiresWriterPermission()
null for nonepublic TeamDrive.Restrictions setCopyRequiresWriterPermission(Boolean copyRequiresWriterPermission)
copyRequiresWriterPermission - copyRequiresWriterPermission or null for nonepublic Boolean getDomainUsersOnly()
null for nonepublic TeamDrive.Restrictions setDomainUsersOnly(Boolean domainUsersOnly)
domainUsersOnly - domainUsersOnly or null for nonepublic DownloadRestriction getDownloadRestriction()
null for nonepublic TeamDrive.Restrictions setDownloadRestriction(DownloadRestriction downloadRestriction)
downloadRestriction - downloadRestriction or null for nonepublic Boolean getSharingFoldersRequiresOrganizerPermission()
null for nonepublic TeamDrive.Restrictions setSharingFoldersRequiresOrganizerPermission(Boolean sharingFoldersRequiresOrganizerPermission)
sharingFoldersRequiresOrganizerPermission - sharingFoldersRequiresOrganizerPermission or null for nonepublic Boolean getTeamMembersOnly()
null for nonepublic TeamDrive.Restrictions setTeamMembersOnly(Boolean teamMembersOnly)
teamMembersOnly - teamMembersOnly or null for nonepublic TeamDrive.Restrictions set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic TeamDrive.Restrictions clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.