public static final class Drive.Restrictions
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.Flags
AbstractMap.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.
|
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 |
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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 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.GenericJson
public Drive.Restrictions clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.