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.DriveThemes
Model definition for AboutDriveThemes.
|
static class |
About.StorageQuota
The user's storage quota limits and usage.
|
static class |
About.TeamDriveThemes
Model definition for AboutTeamDriveThemes.
|
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
About() |
Modifier and Type | Method and Description |
---|---|
About |
clone() |
java.lang.Boolean |
getAppInstalled()
Whether the user has installed the requesting app.
|
java.lang.Boolean |
getCanCreateDrives()
Whether the user can create shared drives.
|
java.lang.Boolean |
getCanCreateTeamDrives()
Deprecated - use canCreateDrives instead.
|
java.util.List<About.DriveThemes> |
getDriveThemes()
A list of themes that are supported for shared drives.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getExportFormats()
A map of source MIME type to possible targets for all supported exports.
|
java.util.List<java.lang.String> |
getFolderColorPalette()
The currently supported folder colors as RGB hex strings.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getImportFormats()
A map of source MIME type to possible targets for all supported imports.
|
java.lang.String |
getKind()
Identifies what kind of resource this is.
|
java.util.Map<java.lang.String,java.lang.Long> |
getMaxImportSizes()
A map of maximum import sizes by MIME type, in bytes.
|
java.lang.Long |
getMaxUploadSize()
The maximum upload size in bytes.
|
About.StorageQuota |
getStorageQuota()
The user's storage quota limits and usage.
|
java.util.List<About.TeamDriveThemes> |
getTeamDriveThemes()
Deprecated - use driveThemes instead.
|
User |
getUser()
The authenticated user.
|
About |
set(java.lang.String fieldName,
java.lang.Object value) |
About |
setAppInstalled(java.lang.Boolean appInstalled)
Whether the user has installed the requesting app.
|
About |
setCanCreateDrives(java.lang.Boolean canCreateDrives)
Whether the user can create shared drives.
|
About |
setCanCreateTeamDrives(java.lang.Boolean canCreateTeamDrives)
Deprecated - use canCreateDrives instead.
|
About |
setDriveThemes(java.util.List<About.DriveThemes> driveThemes)
A list of themes that are supported for shared drives.
|
About |
setExportFormats(java.util.Map<java.lang.String,java.util.List<java.lang.String>> exportFormats)
A map of source MIME type to possible targets for all supported exports.
|
About |
setFolderColorPalette(java.util.List<java.lang.String> folderColorPalette)
The currently supported folder colors as RGB hex strings.
|
About |
setImportFormats(java.util.Map<java.lang.String,java.util.List<java.lang.String>> importFormats)
A map of source MIME type to possible targets for all supported imports.
|
About |
setKind(java.lang.String kind)
Identifies what kind of resource this is.
|
About |
setMaxImportSizes(java.util.Map<java.lang.String,java.lang.Long> maxImportSizes)
A map of maximum import sizes by MIME type, in bytes.
|
About |
setMaxUploadSize(java.lang.Long maxUploadSize)
The maximum upload size in bytes.
|
About |
setStorageQuota(About.StorageQuota storageQuota)
The user's storage quota limits and usage.
|
About |
setTeamDriveThemes(java.util.List<About.TeamDriveThemes> teamDriveThemes)
Deprecated - use driveThemes instead.
|
About |
setUser(User user)
The authenticated user.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Boolean getAppInstalled()
null
for nonepublic About setAppInstalled(java.lang.Boolean appInstalled)
appInstalled
- appInstalled or null
for nonepublic java.lang.Boolean getCanCreateDrives()
null
for nonepublic About setCanCreateDrives(java.lang.Boolean canCreateDrives)
canCreateDrives
- canCreateDrives or null
for nonepublic java.lang.Boolean getCanCreateTeamDrives()
null
for nonepublic About setCanCreateTeamDrives(java.lang.Boolean canCreateTeamDrives)
canCreateTeamDrives
- canCreateTeamDrives or null
for nonepublic java.util.List<About.DriveThemes> getDriveThemes()
null
for nonepublic About setDriveThemes(java.util.List<About.DriveThemes> driveThemes)
driveThemes
- driveThemes or null
for nonepublic java.util.Map<java.lang.String,java.util.List<java.lang.String>> getExportFormats()
null
for nonepublic About setExportFormats(java.util.Map<java.lang.String,java.util.List<java.lang.String>> exportFormats)
exportFormats
- exportFormats or null
for nonepublic java.util.List<java.lang.String> getFolderColorPalette()
null
for nonepublic About setFolderColorPalette(java.util.List<java.lang.String> folderColorPalette)
folderColorPalette
- folderColorPalette or null
for nonepublic java.util.Map<java.lang.String,java.util.List<java.lang.String>> getImportFormats()
null
for nonepublic About setImportFormats(java.util.Map<java.lang.String,java.util.List<java.lang.String>> importFormats)
importFormats
- importFormats or null
for nonepublic java.lang.String getKind()
null
for nonepublic About setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.util.Map<java.lang.String,java.lang.Long> getMaxImportSizes()
null
for nonepublic About setMaxImportSizes(java.util.Map<java.lang.String,java.lang.Long> maxImportSizes)
maxImportSizes
- maxImportSizes or null
for nonepublic java.lang.Long getMaxUploadSize()
null
for nonepublic About setMaxUploadSize(java.lang.Long maxUploadSize)
maxUploadSize
- maxUploadSize or null
for nonepublic About.StorageQuota getStorageQuota()
null
for nonepublic About setStorageQuota(About.StorageQuota storageQuota)
storageQuota
- storageQuota or null
for nonepublic java.util.List<About.TeamDriveThemes> getTeamDriveThemes()
null
for nonepublic About setTeamDriveThemes(java.util.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(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public About clone()
clone
in class com.google.api.client.json.GenericJson