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 Google 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
About() |
Modifier and Type | Method and Description |
---|---|
About |
clone() |
Boolean |
getAppInstalled()
Whether the user has installed the requesting app.
|
Boolean |
getCanCreateDrives()
Whether the user can create shared drives.
|
Boolean |
getCanCreateTeamDrives()
Deprecated: Use `canCreateDrives` instead.
|
List<About.DriveThemes> |
getDriveThemes()
A list of themes that are supported for shared drives.
|
Map<String,List<String>> |
getExportFormats()
A map of source MIME type to possible targets for all supported exports.
|
List<String> |
getFolderColorPalette()
The currently supported folder colors as RGB hex strings.
|
Map<String,List<String>> |
getImportFormats()
A map of source MIME type to possible targets for all supported imports.
|
String |
getKind()
Identifies what kind of resource this is.
|
Map<String,Long> |
getMaxImportSizes()
A map of maximum import sizes by MIME type, in bytes.
|
Long |
getMaxUploadSize()
The maximum upload size in bytes.
|
About.StorageQuota |
getStorageQuota()
The user's storage quota limits and usage.
|
List<About.TeamDriveThemes> |
getTeamDriveThemes()
Deprecated: Use `driveThemes` instead.
|
User |
getUser()
The authenticated user.
|
About |
set(String fieldName,
Object value) |
About |
setAppInstalled(Boolean appInstalled)
Whether the user has installed the requesting app.
|
About |
setCanCreateDrives(Boolean canCreateDrives)
Whether the user can create shared drives.
|
About |
setCanCreateTeamDrives(Boolean canCreateTeamDrives)
Deprecated: Use `canCreateDrives` instead.
|
About |
setDriveThemes(List<About.DriveThemes> driveThemes)
A list of themes that are supported for shared drives.
|
About |
setExportFormats(Map<String,List<String>> exportFormats)
A map of source MIME type to possible targets for all supported exports.
|
About |
setFolderColorPalette(List<String> folderColorPalette)
The currently supported folder colors as RGB hex strings.
|
About |
setImportFormats(Map<String,List<String>> importFormats)
A map of source MIME type to possible targets for all supported imports.
|
About |
setKind(String kind)
Identifies what kind of resource this is.
|
About |
setMaxImportSizes(Map<String,Long> maxImportSizes)
A map of maximum import sizes by MIME type, in bytes.
|
About |
setMaxUploadSize(Long maxUploadSize)
The maximum upload size in bytes.
|
About |
setStorageQuota(About.StorageQuota storageQuota)
The user's storage quota limits and usage.
|
About |
setTeamDriveThemes(List<About.TeamDriveThemes> teamDriveThemes)
Deprecated: Use `driveThemes` instead.
|
About |
setUser(User user)
The authenticated user.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Boolean getAppInstalled()
null
for nonepublic About setAppInstalled(Boolean appInstalled)
appInstalled
- appInstalled 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 List<About.DriveThemes> getDriveThemes()
null
for nonepublic About setDriveThemes(List<About.DriveThemes> driveThemes)
driveThemes
- driveThemes or null
for nonepublic Map<String,List<String>> getExportFormats()
null
for nonepublic About setExportFormats(Map<String,List<String>> exportFormats)
exportFormats
- exportFormats or null
for nonepublic List<String> getFolderColorPalette()
null
for nonepublic About setFolderColorPalette(List<String> folderColorPalette)
folderColorPalette
- folderColorPalette or null
for nonepublic Map<String,List<String>> getImportFormats()
null
for nonepublic About setImportFormats(Map<String,List<String>> importFormats)
importFormats
- importFormats or null
for nonepublic String getKind()
null
for nonepublic About setKind(String kind)
kind
- kind or null
for nonepublic Map<String,Long> getMaxImportSizes()
null
for nonepublic About setMaxImportSizes(Map<String,Long> maxImportSizes)
maxImportSizes
- maxImportSizes or null
for nonepublic Long getMaxUploadSize()
null
for nonepublic About setMaxUploadSize(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 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.GenericJson
public About clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.