public final class About
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 Drive API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
| Modifier and Type | Class and Description |
|---|---|
static class |
About.AdditionalRoleInfo
Model definition for AboutAdditionalRoleInfo.
|
static class |
About.DriveThemes
Model definition for AboutDriveThemes.
|
static class |
About.ExportFormats
Model definition for AboutExportFormats.
|
static class |
About.Features
Model definition for AboutFeatures.
|
static class |
About.ImportFormats
Model definition for AboutImportFormats.
|
static class |
About.MaxUploadSizes
Model definition for AboutMaxUploadSizes.
|
static class |
About.QuotaBytesByService
Model definition for AboutQuotaBytesByService.
|
static class |
About.TeamDriveThemes
Model definition for AboutTeamDriveThemes.
|
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
About() |
| Modifier and Type | Method and Description |
|---|---|
About |
clone() |
List<About.AdditionalRoleInfo> |
getAdditionalRoleInfo()
Information about supported additional roles per file type.
|
Boolean |
getCanCreateDrives()
Whether the user can create shared drives.
|
Boolean |
getCanCreateTeamDrives()
Deprecated - use canCreateDrives instead.
|
String |
getDomainSharingPolicy()
The domain sharing policy for the current user.
|
List<About.DriveThemes> |
getDriveThemes()
A list of themes that are supported for shared drives.
|
String |
getEtag()
The ETag of the item.
|
List<About.ExportFormats> |
getExportFormats()
The allowable export formats.
|
List<About.Features> |
getFeatures()
List of additional features enabled on this account.
|
List<String> |
getFolderColorPalette()
The palette of allowable folder colors as RGB hex strings.
|
List<About.ImportFormats> |
getImportFormats()
The allowable import formats.
|
Boolean |
getIsCurrentAppInstalled()
A boolean indicating whether the authenticated app is installed by the authenticated user.
|
String |
getKind()
This is always drive#about.
|
String |
getLanguageCode()
The user's language or locale code, as defined by BCP 47, with some extensions from Unicode's
LDML format (http://www.unicode.org/reports/tr35/).
|
Long |
getLargestChangeId()
The largest change id.
|
List<About.MaxUploadSizes> |
getMaxUploadSizes()
List of max upload sizes for each file type.
|
String |
getName()
The name of the current user.
|
String |
getPermissionId()
The current user's ID as visible in the permissions collection.
|
List<About.QuotaBytesByService> |
getQuotaBytesByService()
The amount of storage quota used by different Google services.
|
Long |
getQuotaBytesTotal()
The total number of quota bytes.
|
Long |
getQuotaBytesUsed()
The number of quota bytes used by Google Drive.
|
Long |
getQuotaBytesUsedAggregate()
The number of quota bytes used by all Google apps (Drive, Picasa, etc.).
|
Long |
getQuotaBytesUsedInTrash()
The number of quota bytes used by trashed items.
|
String |
getQuotaType()
The type of the user's storage quota.
|
Long |
getRemainingChangeIds()
The number of remaining change ids, limited to no more than 2500.
|
String |
getRootFolderId()
The id of the root folder.
|
String |
getSelfLink()
A link back to this item.
|
List<About.TeamDriveThemes> |
getTeamDriveThemes()
Deprecated - use driveThemes instead.
|
User |
getUser()
The authenticated user.
|
About |
set(String fieldName,
Object value) |
About |
setAdditionalRoleInfo(List<About.AdditionalRoleInfo> additionalRoleInfo)
Information about supported additional roles per file type.
|
About |
setCanCreateDrives(Boolean canCreateDrives)
Whether the user can create shared drives.
|
About |
setCanCreateTeamDrives(Boolean canCreateTeamDrives)
Deprecated - use canCreateDrives instead.
|
About |
setDomainSharingPolicy(String domainSharingPolicy)
The domain sharing policy for the current user.
|
About |
setDriveThemes(List<About.DriveThemes> driveThemes)
A list of themes that are supported for shared drives.
|
About |
setEtag(String etag)
The ETag of the item.
|
About |
setExportFormats(List<About.ExportFormats> exportFormats)
The allowable export formats.
|
About |
setFeatures(List<About.Features> features)
List of additional features enabled on this account.
|
About |
setFolderColorPalette(List<String> folderColorPalette)
The palette of allowable folder colors as RGB hex strings.
|
About |
setImportFormats(List<About.ImportFormats> importFormats)
The allowable import formats.
|
About |
setIsCurrentAppInstalled(Boolean isCurrentAppInstalled)
A boolean indicating whether the authenticated app is installed by the authenticated user.
|
About |
setKind(String kind)
This is always drive#about.
|
About |
setLanguageCode(String languageCode)
The user's language or locale code, as defined by BCP 47, with some extensions from Unicode's
LDML format (http://www.unicode.org/reports/tr35/).
|
About |
setLargestChangeId(Long largestChangeId)
The largest change id.
|
About |
setMaxUploadSizes(List<About.MaxUploadSizes> maxUploadSizes)
List of max upload sizes for each file type.
|
About |
setName(String name)
The name of the current user.
|
About |
setPermissionId(String permissionId)
The current user's ID as visible in the permissions collection.
|
About |
setQuotaBytesByService(List<About.QuotaBytesByService> quotaBytesByService)
The amount of storage quota used by different Google services.
|
About |
setQuotaBytesTotal(Long quotaBytesTotal)
The total number of quota bytes.
|
About |
setQuotaBytesUsed(Long quotaBytesUsed)
The number of quota bytes used by Google Drive.
|
About |
setQuotaBytesUsedAggregate(Long quotaBytesUsedAggregate)
The number of quota bytes used by all Google apps (Drive, Picasa, etc.).
|
About |
setQuotaBytesUsedInTrash(Long quotaBytesUsedInTrash)
The number of quota bytes used by trashed items.
|
About |
setQuotaType(String quotaType)
The type of the user's storage quota.
|
About |
setRemainingChangeIds(Long remainingChangeIds)
The number of remaining change ids, limited to no more than 2500.
|
About |
setRootFolderId(String rootFolderId)
The id of the root folder.
|
About |
setSelfLink(String selfLink)
A link back to this item.
|
About |
setTeamDriveThemes(List<About.TeamDriveThemes> teamDriveThemes)
Deprecated - use driveThemes instead.
|
About |
setUser(User user)
The authenticated user.
|
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 List<About.AdditionalRoleInfo> getAdditionalRoleInfo()
null for nonepublic About setAdditionalRoleInfo(List<About.AdditionalRoleInfo> additionalRoleInfo)
additionalRoleInfo - additionalRoleInfo or null for nonepublic Boolean getCanCreateDrives()
null for nonepublic About setCanCreateDrives(Boolean canCreateDrives)
canCreateDrives - canCreateDrives or null for nonepublic Boolean getCanCreateTeamDrives()
null for nonepublic About setCanCreateTeamDrives(Boolean canCreateTeamDrives)
canCreateTeamDrives - canCreateTeamDrives or null for nonepublic String getDomainSharingPolicy()
null for nonepublic About setDomainSharingPolicy(String domainSharingPolicy)
domainSharingPolicy - domainSharingPolicy or null for nonepublic List<About.DriveThemes> getDriveThemes()
null for nonepublic About setDriveThemes(List<About.DriveThemes> driveThemes)
driveThemes - driveThemes or null for nonepublic String getEtag()
null for nonepublic About setEtag(String etag)
etag - etag or null for nonepublic List<About.ExportFormats> getExportFormats()
null for nonepublic About setExportFormats(List<About.ExportFormats> exportFormats)
exportFormats - exportFormats or null for nonepublic List<About.Features> getFeatures()
null for nonepublic About setFeatures(List<About.Features> features)
features - features or null for nonepublic List<String> getFolderColorPalette()
null for nonepublic About setFolderColorPalette(List<String> folderColorPalette)
folderColorPalette - folderColorPalette or null for nonepublic List<About.ImportFormats> getImportFormats()
null for nonepublic About setImportFormats(List<About.ImportFormats> importFormats)
importFormats - importFormats or null for nonepublic Boolean getIsCurrentAppInstalled()
null for nonepublic About setIsCurrentAppInstalled(Boolean isCurrentAppInstalled)
isCurrentAppInstalled - isCurrentAppInstalled or null for nonepublic String getKind()
null for nonepublic About setKind(String kind)
kind - kind or null for nonepublic String getLanguageCode()
null for nonepublic About setLanguageCode(String languageCode)
languageCode - languageCode or null for nonepublic Long getLargestChangeId()
null for nonepublic About setLargestChangeId(Long largestChangeId)
largestChangeId - largestChangeId or null for nonepublic List<About.MaxUploadSizes> getMaxUploadSizes()
null for nonepublic About setMaxUploadSizes(List<About.MaxUploadSizes> maxUploadSizes)
maxUploadSizes - maxUploadSizes or null for nonepublic String getName()
null for nonepublic About setName(String name)
name - name or null for nonepublic String getPermissionId()
null for nonepublic About setPermissionId(String permissionId)
permissionId - permissionId or null for nonepublic List<About.QuotaBytesByService> getQuotaBytesByService()
null for nonepublic About setQuotaBytesByService(List<About.QuotaBytesByService> quotaBytesByService)
quotaBytesByService - quotaBytesByService or null for nonepublic Long getQuotaBytesTotal()
null for nonepublic About setQuotaBytesTotal(Long quotaBytesTotal)
quotaBytesTotal - quotaBytesTotal or null for nonepublic Long getQuotaBytesUsed()
null for nonepublic About setQuotaBytesUsed(Long quotaBytesUsed)
quotaBytesUsed - quotaBytesUsed or null for nonepublic Long getQuotaBytesUsedAggregate()
null for nonepublic About setQuotaBytesUsedAggregate(Long quotaBytesUsedAggregate)
quotaBytesUsedAggregate - quotaBytesUsedAggregate or null for nonepublic Long getQuotaBytesUsedInTrash()
null for nonepublic About setQuotaBytesUsedInTrash(Long quotaBytesUsedInTrash)
quotaBytesUsedInTrash - quotaBytesUsedInTrash or null for nonepublic String getQuotaType()
null for nonepublic About setQuotaType(String quotaType)
quotaType - quotaType or null for nonepublic Long getRemainingChangeIds()
null for nonepublic About setRemainingChangeIds(Long remainingChangeIds)
remainingChangeIds - remainingChangeIds or null for nonepublic String getRootFolderId()
null for nonepublic About setRootFolderId(String rootFolderId)
rootFolderId - rootFolderId or null for nonepublic String getSelfLink()
null for nonepublic About setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic List<About.TeamDriveThemes> getTeamDriveThemes()
null for nonepublic About setTeamDriveThemes(List<About.TeamDriveThemes> teamDriveThemes)
teamDriveThemes - teamDriveThemes or null for nonepublic User getUser()
null for nonepublic About setUser(User user)
user - user or null for nonepublic About set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic About clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.