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 |
---|---|
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.
|
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 |
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, 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 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 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.GenericJson
public TeamDrive.Restrictions clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.