The photos space will sunset in early January 2018. Your users can continue to access Google Photos via the drive space by enabling the Google Photos folder in My Drive in the Drive client settings

About

For a list of methods for this resource, see the end of this page.

Resource representations

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

{
  "kind": "drive#about",
  "user": {
    "kind": "drive#user",
    "displayName": string,
    "photoLink": string,
    "me": boolean,
    "permissionId": string,
    "emailAddress": string
  },
  "storageQuota": {
    "limit": long,
    "usage": long,
    "usageInDrive": long,
    "usageInDriveTrash": long
  },
  "importFormats": {
    (key): [
      string
    ]
  },
  "exportFormats": {
    (key): [
      string
    ]
  },
  "maxImportSizes": {
    (key): long
  },
  "maxUploadSize": long,
  "appInstalled": boolean,
  "folderColorPalette": [
    string
  ],
  "teamDriveThemes": [
    {
      "id": string,
      "backgroundImageLink": string,
      "colorRgb": string
    }
  ]
}
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "drive#about".
user nested object The authenticated user.
user.kind string Identifies what kind of resource this is. Value: the fixed string "drive#user".
user.displayName string A plain text displayable name for this user.
user.me boolean Whether this user is the requesting user.
user.permissionId string The user's ID as visible in Permission resources.
user.emailAddress string The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester.
storageQuota object The user's storage quota limits and usage. All fields are measured in bytes.
storageQuota.limit long The usage limit, if applicable. This will not be present if the user has unlimited storage.
storageQuota.usage long The total usage across all services.
storageQuota.usageInDrive long The usage by all files in Google Drive.
storageQuota.usageInDriveTrash long The usage by trashed files in Google Drive.
importFormats object A map of source MIME type to possible targets for all supported imports.
importFormats.(key)[] list
exportFormats object A map of source MIME type to possible targets for all supported exports.
exportFormats.(key)[] list
maxImportSizes object A map of maximum import sizes by MIME type, in bytes.
maxImportSizes.(key) long
maxUploadSize long The maximum upload size in bytes.
appInstalled boolean Whether the user has installed the requesting app.
folderColorPalette[] list The currently supported folder colors as RGB hex strings.
teamDriveThemes[] list A list of themes that are supported for Team Drives.
teamDriveThemes[].id string The ID of the theme.
teamDriveThemes[].colorRgb string The color of this Team Drive theme as an RGB hex string.

Methods

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

Send feedback about...

Drive REST API
Drive REST API