REST Resource: about

Resource: About

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

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

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" }.

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" }.

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.

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.

canCreateDrives

boolean

Whether the user can create shared drives.

appInstalled

boolean

Whether the user has installed the requesting app.

user

object (User)

The authenticated user.

maxUploadSize

string (int64 format)

The maximum upload size in bytes.

canCreateTeamDrives
(deprecated)

boolean

Deprecated: Use canCreateDrives instead.

Methods

get

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