public final class DriveOptions extends 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 G Suite Vault API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
DriveOptions() |
| Modifier and Type | Method and Description |
|---|---|
DriveOptions |
clone() |
Boolean |
getIncludeSharedDrives()
Set to **true** to include shared drives.
|
Boolean |
getIncludeTeamDrives()
Set to true to include Team Drive.
|
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 |
setIncludeSharedDrives(Boolean includeSharedDrives)
Set to **true** to include shared drives.
|
DriveOptions |
setIncludeTeamDrives(Boolean includeTeamDrives)
Set to true to include Team Drive.
|
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 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 getVersionDate()
null for nonepublic DriveOptions setVersionDate(String versionDate)
versionDate - versionDate or null for nonepublic DriveOptions set(String fieldName, Object value)
set in class GenericJsonpublic DriveOptions clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.