REST Resource: about

Resource: About

Information about the user, the user's Drive, and system capabilities.

JSON representation
{
  "kind": string,
  "storageQuota": {
    "limit": string,
    "usageInDrive": string,
    "usageInDriveTrash": string,
    "usage": string
  },
  "driveThemes": [
    {
      "id": string,
      "backgroundImageLink": string,
      "colorRgb": string
    }
  ],
  "canCreateDrives": boolean,
  "importFormats": {
    string: value,
    ...
  },
  "exportFormats": {
    string: value,
    ...
  },
  "appInstalled": boolean,
  "user": {
    object (User)
  },
  "folderColorPalette": [
    string
  ],
  "maxImportSizes": {
    string: string,
    ...
  },
  "maxUploadSize": string,
  "teamDriveThemes": [
    {
      "id": string,
      "backgroundImageLink": string,
      "colorRgb": string
    }
  ],
  "canCreateTeamDrives": boolean
}
Fields
kind

string

Identifies what kind of resource this is. Value: the fixed string "drive#about".

storageQuota

object

The user's storage quota limits and usage. For users that are part of an organization with pooled storage, information about the limit and usage across all services is for the organization, rather than the individual user. All fields are measured in bytes.

storageQuota.limit

string (int64 format)

The usage limit, if applicable. This will not be present if the user has unlimited storage. For users that are part of an organization with pooled storage, this is the limit for the organization, rather than the individual user.

storageQuota.usageInDrive

string (int64 format)

The usage by all files in Google Drive.

storageQuota.usageInDriveTrash

string (int64 format)

The usage by trashed files in Google Drive.

storageQuota.usage

string (int64 format)

The total usage across all services. For users that are part of an organization with pooled storage, this is the usage across all services for the organization, rather than the individual user.

driveThemes[]

object

A list of themes that are supported for shared drives.

driveThemes[].id

string

The ID of the theme.

driveThemes[].backgroundImageLink

string

A link to this theme's background image.

driveThemes[].colorRgb

string

The color of this theme as an RGB hex string.

canCreateDrives

boolean

Whether the user can create shared drives.

importFormats

map (key: string, value: value (Value format))

A map of source MIME type to possible targets for all supported imports.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

exportFormats

map (key: string, value: value (Value format))

A map of source MIME type to possible targets for all supported exports.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

appInstalled

boolean

Whether the user has installed the requesting app.

user

object (User)

The authenticated user.

folderColorPalette[]

string

The currently supported folder colors as RGB hex strings.

maxImportSizes

map (key: string, value: string (int64 format))

A map of maximum import sizes by MIME type, in bytes.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

maxUploadSize

string (int64 format)

The maximum upload size in bytes.

teamDriveThemes[]
(deprecated)

object

Deprecated: Use driveThemes instead.

teamDriveThemes[]
(deprecated).id
(deprecated)

string

Deprecated: Use driveThemes/id instead.

teamDriveThemes[]
(deprecated).backgroundImageLink
(deprecated)

string

Deprecated: Use driveThemes/backgroundImageLink instead.

teamDriveThemes[]
(deprecated).colorRgb
(deprecated)

string

Deprecated: Use driveThemes/colorRgb instead.

canCreateTeamDrives
(deprecated)

boolean

Deprecated: Use canCreateDrives instead.

Methods

get

Gets information about the user, the user's Drive, and system capabilities.