public static final class TeamDrive.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 |
|---|---|
TeamDrive.Restrictions |
clone() |
java.lang.Boolean |
getAdminManagedRestrictions()
Whether administrative privileges on this Team Drive are required to modify restrictions.
|
java.lang.Boolean |
getCopyRequiresWriterPermission()
Whether the options to copy, print, or download files inside this Team Drive, should be
disabled for readers and commenters.
|
java.lang.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.
|
java.lang.Boolean |
getTeamMembersOnly()
Whether access to items inside this Team Drive is restricted to members of this Team Drive.
|
TeamDrive.Restrictions |
set(java.lang.String fieldName,
java.lang.Object value) |
TeamDrive.Restrictions |
setAdminManagedRestrictions(java.lang.Boolean adminManagedRestrictions)
Whether administrative privileges on this Team Drive are required to modify restrictions.
|
TeamDrive.Restrictions |
setCopyRequiresWriterPermission(java.lang.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(java.lang.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 |
setTeamMembersOnly(java.lang.Boolean teamMembersOnly)
Whether access to items inside this Team Drive is restricted to members of this Team Drive.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.Boolean getAdminManagedRestrictions()
null for nonepublic TeamDrive.Restrictions setAdminManagedRestrictions(java.lang.Boolean adminManagedRestrictions)
adminManagedRestrictions - adminManagedRestrictions or null for nonepublic java.lang.Boolean getCopyRequiresWriterPermission()
null for nonepublic TeamDrive.Restrictions setCopyRequiresWriterPermission(java.lang.Boolean copyRequiresWriterPermission)
copyRequiresWriterPermission - copyRequiresWriterPermission or null for nonepublic java.lang.Boolean getDomainUsersOnly()
null for nonepublic TeamDrive.Restrictions setDomainUsersOnly(java.lang.Boolean domainUsersOnly)
domainUsersOnly - domainUsersOnly or null for nonepublic java.lang.Boolean getTeamMembersOnly()
null for nonepublic TeamDrive.Restrictions setTeamMembersOnly(java.lang.Boolean teamMembersOnly)
teamMembersOnly - teamMembersOnly or null for nonepublic TeamDrive.Restrictions set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic TeamDrive.Restrictions clone()
clone in class com.google.api.client.json.GenericJson