Drive API v2 (revision 65)



com.google.api.services.drive.model
Class About

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.drive.model.About
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class About
extends GenericJson

An item with user information and settings.

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: http://code.google.com/p/google-api-java-client/wiki/Json

Upgrade warning: starting with version 1.12 getResponseHeaders() is removed, instead use JsonHttpRequest.getLastResponseHeaders()

Author:
Google, Inc.

Nested Class Summary
static class About.AdditionalRoleInfo
          Model definition for AboutAdditionalRoleInfo.
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.
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
About()
           
 
Method Summary
 List<About.AdditionalRoleInfo> getAdditionalRoleInfo()
          Information about supported additional roles per file type.
 String getDomainSharingPolicy()
          The domain sharing policy for the current user.
 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<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.
 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.
 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.
 Long getRemainingChangeIds()
          The number of remaining change ids.
 String getRootFolderId()
          The id of the root folder.
 String getSelfLink()
          A link back to this item.
 User getUser()
          The authenticated user.
 About setAdditionalRoleInfo(List<About.AdditionalRoleInfo> additionalRoleInfo)
          Information about supported additional roles per file type.
 About setDomainSharingPolicy(String domainSharingPolicy)
          The domain sharing policy for the current user.
 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 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 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 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 setRemainingChangeIds(Long remainingChangeIds)
          The number of remaining change ids.
 About setRootFolderId(String rootFolderId)
          The id of the root folder.
 About setSelfLink(String selfLink)
          A link back to this item.
 About setUser(User user)
          The authenticated user.
 
Methods inherited from class com.google.api.client.json.GenericJson
clone, getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

About

public About()
Method Detail

getAdditionalRoleInfo

public List<About.AdditionalRoleInfo> getAdditionalRoleInfo()
Information about supported additional roles per file type. The most specific type takes precedence. The value returned may be null.


setAdditionalRoleInfo

public About setAdditionalRoleInfo(List<About.AdditionalRoleInfo> additionalRoleInfo)
Information about supported additional roles per file type. The most specific type takes precedence. The value set may be null.


getDomainSharingPolicy

public String getDomainSharingPolicy()
The domain sharing policy for the current user. The value returned may be null.


setDomainSharingPolicy

public About setDomainSharingPolicy(String domainSharingPolicy)
The domain sharing policy for the current user. The value set may be null.


getEtag

public String getEtag()
The ETag of the item. The value returned may be null.


setEtag

public About setEtag(String etag)
The ETag of the item. The value set may be null.


getExportFormats

public List<About.ExportFormats> getExportFormats()
The allowable export formats. The value returned may be null.


setExportFormats

public About setExportFormats(List<About.ExportFormats> exportFormats)
The allowable export formats. The value set may be null.


getFeatures

public List<About.Features> getFeatures()
List of additional features enabled on this account. The value returned may be null.


setFeatures

public About setFeatures(List<About.Features> features)
List of additional features enabled on this account. The value set may be null.


getImportFormats

public List<About.ImportFormats> getImportFormats()
The allowable import formats. The value returned may be null.


setImportFormats

public About setImportFormats(List<About.ImportFormats> importFormats)
The allowable import formats. The value set may be null.


getIsCurrentAppInstalled

public Boolean getIsCurrentAppInstalled()
A boolean indicating whether the authenticated app is installed by the authenticated user. The value returned may be null.


setIsCurrentAppInstalled

public About setIsCurrentAppInstalled(Boolean isCurrentAppInstalled)
A boolean indicating whether the authenticated app is installed by the authenticated user. The value set may be null.


getKind

public String getKind()
This is always drive#about. The value returned may be null.


setKind

public About setKind(String kind)
This is always drive#about. The value set may be null.


getLargestChangeId

public Long getLargestChangeId()
The largest change id. The value returned may be null.


setLargestChangeId

public About setLargestChangeId(Long largestChangeId)
The largest change id. The value set may be null.


getMaxUploadSizes

public List<About.MaxUploadSizes> getMaxUploadSizes()
List of max upload sizes for each file type. The most specific type takes precedence. The value returned may be null.


setMaxUploadSizes

public About setMaxUploadSizes(List<About.MaxUploadSizes> maxUploadSizes)
List of max upload sizes for each file type. The most specific type takes precedence. The value set may be null.


getName

public String getName()
The name of the current user. The value returned may be null.


setName

public About setName(String name)
The name of the current user. The value set may be null.


getPermissionId

public String getPermissionId()
The current user's ID as visible in the permissions collection. The value returned may be null.


setPermissionId

public About setPermissionId(String permissionId)
The current user's ID as visible in the permissions collection. The value set may be null.


getQuotaBytesTotal

public Long getQuotaBytesTotal()
The total number of quota bytes. The value returned may be null.


setQuotaBytesTotal

public About setQuotaBytesTotal(Long quotaBytesTotal)
The total number of quota bytes. The value set may be null.


getQuotaBytesUsed

public Long getQuotaBytesUsed()
The number of quota bytes used by Google Drive. The value returned may be null.


setQuotaBytesUsed

public About setQuotaBytesUsed(Long quotaBytesUsed)
The number of quota bytes used by Google Drive. The value set may be null.


getQuotaBytesUsedAggregate

public Long getQuotaBytesUsedAggregate()
The number of quota bytes used by all Google apps (Drive, Picasa, etc.). The value returned may be null.


setQuotaBytesUsedAggregate

public About setQuotaBytesUsedAggregate(Long quotaBytesUsedAggregate)
The number of quota bytes used by all Google apps (Drive, Picasa, etc.). The value set may be null.


getQuotaBytesUsedInTrash

public Long getQuotaBytesUsedInTrash()
The number of quota bytes used by trashed items. The value returned may be null.


setQuotaBytesUsedInTrash

public About setQuotaBytesUsedInTrash(Long quotaBytesUsedInTrash)
The number of quota bytes used by trashed items. The value set may be null.


getRemainingChangeIds

public Long getRemainingChangeIds()
The number of remaining change ids. The value returned may be null.


setRemainingChangeIds

public About setRemainingChangeIds(Long remainingChangeIds)
The number of remaining change ids. The value set may be null.


getRootFolderId

public String getRootFolderId()
The id of the root folder. The value returned may be null.


setRootFolderId

public About setRootFolderId(String rootFolderId)
The id of the root folder. The value set may be null.


getSelfLink

public String getSelfLink()
A link back to this item. The value returned may be null.


setSelfLink

public About setSelfLink(String selfLink)
A link back to this item. The value set may be null.


getUser

public User getUser()
The authenticated user. The value returned may be null.


setUser

public About setUser(User user)
The authenticated user. The value set may be null.