Package | Description |
---|---|
com.google.api.services.drive.model |
Modifier and Type | Method and Description |
---|---|
Drive.Restrictions |
Drive.Restrictions.clone() |
Drive.Restrictions |
Drive.getRestrictions()
A set of restrictions that apply to this shared drive or items inside this shared drive.
|
Drive.Restrictions |
Drive.Restrictions.set(String fieldName,
Object value) |
Drive.Restrictions |
Drive.Restrictions.setAdminManagedRestrictions(Boolean adminManagedRestrictions)
Whether administrative privileges on this shared drive are required to modify restrictions.
|
Drive.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 |
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 |
Drive.Restrictions.setDriveMembersOnly(Boolean driveMembersOnly)
Whether access to items inside this shared drive is restricted to its members.
|
Drive.Restrictions |
Drive.Restrictions.setSharingFoldersRequiresOrganizerPermission(Boolean sharingFoldersRequiresOrganizerPermission)
If true, only users with the organizer role can share folders.
|
Modifier and Type | Method and Description |
---|---|
Drive |
Drive.setRestrictions(Drive.Restrictions restrictions)
A set of restrictions that apply to this shared drive or items inside this shared drive.
|
Copyright © 2011–2024 Google. All rights reserved.