public final class DriveOptions
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Vault API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
DriveOptions() |
| Modifier and Type | Method and Description |
|---|---|
DriveOptions |
clone() |
String |
getClientSideEncryptedOption()
Set whether the results include only content encrypted with [Google Workspace Client-side
encryption](https://support.google.com/a?p=cse_ov) content, only unencrypted content, or both.
|
Boolean |
getIncludeSharedDrives()
Set to **true** to include shared drives.
|
Boolean |
getIncludeTeamDrives()
Set to true to include Team Drive.
|
String |
getSharedDrivesOption()
Optional.
|
String |
getVersionDate()
Search the current version of the Drive file, but export the contents of the last version saved
before 12:00 AM UTC on the specified date.
|
DriveOptions |
set(String fieldName,
Object value) |
DriveOptions |
setClientSideEncryptedOption(String clientSideEncryptedOption)
Set whether the results include only content encrypted with [Google Workspace Client-side
encryption](https://support.google.com/a?p=cse_ov) content, only unencrypted content, or both.
|
DriveOptions |
setIncludeSharedDrives(Boolean includeSharedDrives)
Set to **true** to include shared drives.
|
DriveOptions |
setIncludeTeamDrives(Boolean includeTeamDrives)
Set to true to include Team Drive.
|
DriveOptions |
setSharedDrivesOption(String sharedDrivesOption)
Optional.
|
DriveOptions |
setVersionDate(String versionDate)
Search the current version of the Drive file, but export the contents of the last version saved
before 12:00 AM UTC on the specified date.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getClientSideEncryptedOption()
null for nonepublic DriveOptions setClientSideEncryptedOption(String clientSideEncryptedOption)
clientSideEncryptedOption - clientSideEncryptedOption or null for nonepublic Boolean getIncludeSharedDrives()
null for nonepublic DriveOptions setIncludeSharedDrives(Boolean includeSharedDrives)
includeSharedDrives - includeSharedDrives or null for nonepublic Boolean getIncludeTeamDrives()
null for nonepublic DriveOptions setIncludeTeamDrives(Boolean includeTeamDrives)
includeTeamDrives - includeTeamDrives or null for nonepublic String getSharedDrivesOption()
null for nonepublic DriveOptions setSharedDrivesOption(String sharedDrivesOption)
sharedDrivesOption - sharedDrivesOption or null for nonepublic String getVersionDate()
null for nonepublic DriveOptions setVersionDate(String versionDate)
versionDate - versionDate or null for nonepublic DriveOptions set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic DriveOptions clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.