public static final class Drive.Restrictions
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Restrictions() |
Modifier and Type | Method and Description |
---|---|
Drive.Restrictions |
clone() |
java.lang.Boolean |
getAdminManagedRestrictions()
Whether administrative privileges on this shared drive are required to modify restrictions.
|
java.lang.Boolean |
getCopyRequiresWriterPermission()
Whether the options to copy, print, or download files inside this shared drive, should be
disabled for readers and commenters.
|
java.lang.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.
|
java.lang.Boolean |
getDriveMembersOnly()
Whether access to items inside this shared drive is restricted to its members.
|
Drive.Restrictions |
set(java.lang.String fieldName,
java.lang.Object value) |
Drive.Restrictions |
setAdminManagedRestrictions(java.lang.Boolean adminManagedRestrictions)
Whether administrative privileges on this shared drive are required to modify restrictions.
|
Drive.Restrictions |
setCopyRequiresWriterPermission(java.lang.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(java.lang.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(java.lang.Boolean driveMembersOnly)
Whether access to items inside this shared drive is restricted to its members.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Boolean getAdminManagedRestrictions()
null
for nonepublic Drive.Restrictions setAdminManagedRestrictions(java.lang.Boolean adminManagedRestrictions)
adminManagedRestrictions
- adminManagedRestrictions or null
for nonepublic java.lang.Boolean getCopyRequiresWriterPermission()
null
for nonepublic Drive.Restrictions setCopyRequiresWriterPermission(java.lang.Boolean copyRequiresWriterPermission)
copyRequiresWriterPermission
- copyRequiresWriterPermission or null
for nonepublic java.lang.Boolean getDomainUsersOnly()
null
for nonepublic Drive.Restrictions setDomainUsersOnly(java.lang.Boolean domainUsersOnly)
domainUsersOnly
- domainUsersOnly or null
for nonepublic java.lang.Boolean getDriveMembersOnly()
null
for nonepublic Drive.Restrictions setDriveMembersOnly(java.lang.Boolean driveMembersOnly)
driveMembersOnly
- driveMembersOnly or null
for nonepublic Drive.Restrictions set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Drive.Restrictions clone()
clone
in class com.google.api.client.json.GenericJson