Google Drive SDK

About

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

Resource representations

An item with user information and settings.

{
  "kind": "drive#about",
  "etag": etag,
  "selfLink": string,
  "name": string,
  "user": {
    "kind": "drive#user",
    "displayName": string,
    "picture": {
      "url": string
    },
    "isAuthenticatedUser": boolean,
    "permissionId": string
  },
  "quotaBytesTotal": long,
  "quotaBytesUsed": long,
  "quotaBytesUsedAggregate": long,
  "quotaBytesUsedInTrash": long,
  "largestChangeId": long,
  "remainingChangeIds": long,
  "rootFolderId": string,
  "domainSharingPolicy": string,
  "permissionId": string,
  "importFormats": [
    {
      "source": string,
      "targets": [
        string
      ]
    }
  ],
  "exportFormats": [
    {
      "source": string,
      "targets": [
        string
      ]
    }
  ],
  "additionalRoleInfo": [
    {
      "type": string,
      "roleSets": [
        {
          "primaryRole": string,
          "additionalRoles": [
            string
          ]
        }
      ]
    }
  ],
  "features": [
    {
      "featureName": string,
      "featureRate": double
    }
  ],
  "maxUploadSizes": [
    {
      "type": string,
      "size": long
    }
  ],
  "isCurrentAppInstalled": boolean
}
Property name Value Description Notes
additionalRoleInfo[] list Information about supported additional roles per file type. The most specific type takes precedence.
additionalRoleInfo[].roleSets[] list The supported additional roles per primary role.
additionalRoleInfo[].roleSets[].additionalRoles[] list The supported additional roles with the primary role.
additionalRoleInfo[].roleSets[].primaryRole string A primary permission role.
additionalRoleInfo[].type string The content type that this additional role info applies to.
domainSharingPolicy string The domain sharing policy for the current user.
etag etag The ETag of the item.
exportFormats[] list The allowable export formats.
exportFormats[].source string The content type to convert from.
exportFormats[].targets[] list The possible content types to convert to.
features[] list List of additional features enabled on this account.
features[].featureName string The name of the feature.
features[].featureRate double The request limit rate for this feature, in queries per second.
importFormats[] list The allowable import formats.
importFormats[].source string The imported file's content type to convert from.
importFormats[].targets[] list The possible content types to convert to.
isCurrentAppInstalled boolean A boolean indicating whether the authenticated app is installed by the authenticated user.
kind string This is always drive#about.
largestChangeId long The largest change id.
maxUploadSizes[] list List of max upload sizes for each file type. The most specific type takes precedence.
maxUploadSizes[].size long The max upload size for this type.
maxUploadSizes[].type string The file type.
name string The name of the current user.
permissionId string The current user's ID as visible in the permissions collection.
quotaBytesTotal long The total number of quota bytes.
quotaBytesUsed long The number of quota bytes used by Google Drive.
quotaBytesUsedAggregate long The number of quota bytes used by all Google apps (Drive, Picasa, etc.).
quotaBytesUsedInTrash long The number of quota bytes used by trashed items.
remainingChangeIds long The number of remaining change ids.
rootFolderId string The id of the root folder.
user nested object The authenticated user.
user.displayName string A plain text displayable name for this user.
user.isAuthenticatedUser boolean Whether this user is the same as the authenticated user for whom the request was made.
user.kind string This is always drive#user.
user.permissionId string The user's ID as visible in the permissions collection.
user.picture object The user's profile picture.
user.picture.url string A URL that points to a profile picture of this user.

Methods

get
Gets the information about the current user along with Drive API settings

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.