public static final class Drive.Restrictions
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
Restrictions()  | 
| Modifier and Type | Method and Description | 
|---|---|
Drive.Restrictions | 
clone()  | 
Boolean | 
getAdminManagedRestrictions()
Whether administrative privileges on this shared drive are required to modify restrictions. 
 | 
Boolean | 
getCopyRequiresWriterPermission()
Whether the options to copy, print, or download files inside this shared drive, should be
 disabled for readers and commenters. 
 | 
Boolean | 
getDomainUsersOnly()
Whether access to this shared drive and items inside this shared drive is restricted to users
 of the domain to which this shared drive belongs. 
 | 
DownloadRestriction | 
getDownloadRestriction()
Download restrictions applied by shared drive managers. 
 | 
Boolean | 
getDriveMembersOnly()
Whether access to items inside this shared drive is restricted to its members. 
 | 
Boolean | 
getSharingFoldersRequiresOrganizerPermission()
If true, only users with the organizer role can share folders. 
 | 
Drive.Restrictions | 
set(String fieldName,
   Object value)  | 
Drive.Restrictions | 
setAdminManagedRestrictions(Boolean adminManagedRestrictions)
Whether administrative privileges on this shared drive are required to modify restrictions. 
 | 
Drive.Restrictions | 
setCopyRequiresWriterPermission(Boolean copyRequiresWriterPermission)
Whether the options to copy, print, or download files inside this shared drive, should be
 disabled for readers and commenters. 
 | 
Drive.Restrictions | 
setDomainUsersOnly(Boolean domainUsersOnly)
Whether access to this shared drive and items inside this shared drive is restricted to users
 of the domain to which this shared drive belongs. 
 | 
Drive.Restrictions | 
setDownloadRestriction(DownloadRestriction downloadRestriction)
Download restrictions applied by shared drive managers. 
 | 
Drive.Restrictions | 
setDriveMembersOnly(Boolean driveMembersOnly)
Whether access to items inside this shared drive is restricted to its members. 
 | 
Drive.Restrictions | 
setSharingFoldersRequiresOrganizerPermission(Boolean sharingFoldersRequiresOrganizerPermission)
If true, only users with the organizer role can share folders. 
 | 
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 Drive.Restrictions setAdminManagedRestrictions(Boolean adminManagedRestrictions)
adminManagedRestrictions - adminManagedRestrictions or null for nonepublic Boolean getCopyRequiresWriterPermission()
null for nonepublic Drive.Restrictions setCopyRequiresWriterPermission(Boolean copyRequiresWriterPermission)
copyRequiresWriterPermission - copyRequiresWriterPermission or null for nonepublic Boolean getDomainUsersOnly()
null for nonepublic Drive.Restrictions setDomainUsersOnly(Boolean domainUsersOnly)
domainUsersOnly - domainUsersOnly or null for nonepublic DownloadRestriction getDownloadRestriction()
null for nonepublic Drive.Restrictions setDownloadRestriction(DownloadRestriction downloadRestriction)
downloadRestriction - downloadRestriction or null for nonepublic Boolean getDriveMembersOnly()
null for nonepublic Drive.Restrictions setDriveMembersOnly(Boolean driveMembersOnly)
driveMembersOnly - driveMembersOnly or null for nonepublic Boolean getSharingFoldersRequiresOrganizerPermission()
null for nonepublic Drive.Restrictions setSharingFoldersRequiresOrganizerPermission(Boolean sharingFoldersRequiresOrganizerPermission)
sharingFoldersRequiresOrganizerPermission - sharingFoldersRequiresOrganizerPermission or null for nonepublic Drive.Restrictions set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Drive.Restrictions clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.