Skip to main content

about

Creates, updates, deletes, gets or lists an about resource.

Overview

Nameabout
TypeResource
Idgoogleworkspace.drivev2.about

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the current user.
additionalRoleInfoarrayInformation about supported additional roles per file type. The most specific type takes precedence.
canCreateDrivesbooleanWhether the user can create shared drives.
canCreateTeamDrivesbooleanDeprecated: Use canCreateDrives instead.
domainSharingPolicystringThe domain sharing policy for the current user. Possible values are: * allowed * allowedWithWarning * incomingOnly * disallowed
driveThemesarrayA list of themes that are supported for shared drives.
etagstringThe ETag of the item.
exportFormatsarrayThe allowable export formats.
featuresarrayList of additional features enabled on this account.
folderColorPalettearrayThe palette of allowable folder colors as RGB hex strings.
importFormatsarrayThe allowable import formats.
isCurrentAppInstalledbooleanA boolean indicating whether the authenticated app is installed by the authenticated user.
kindstringThis is always drive#about. (default: drive#about)
languageCodestringThe user's language or locale code, as defined by BCP 47, with some extensions from Unicode's LDML format (http://www.unicode.org/reports/tr35/).
largestChangeIdstring (int64)The largest change id.
maxUploadSizesarrayList of max upload sizes for each file type. The most specific type takes precedence.
permissionIdstringThe current user's ID as visible in the permissions collection.
quotaBytesByServicearrayThe amount of storage quota used by different Google services.
quotaBytesTotalstring (int64)The total number of quota bytes. This is only relevant when quotaType is LIMITED.
quotaBytesUsedstring (int64)The number of quota bytes used by Google Drive.
quotaBytesUsedAggregatestring (int64)The number of quota bytes used by all Google apps (Drive, Picasa, etc.).
quotaBytesUsedInTrashstring (int64)The number of quota bytes used by trashed items.
quotaTypestringThe type of the user's storage quota. Possible values are: * LIMITED * UNLIMITED
remainingChangeIdsstring (int64)The number of remaining change ids, limited to no more than 2500.
rootFolderIdstringThe id of the root folder.
selfLinkstringA link back to this item.
teamDriveThemesarrayDeprecated: Use driveThemes instead.
userobjectThe authenticated user. (id: User)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectincludeSubscribed, maxChangeIdCount, startChangeIdGets the information about the current user along with Drive API settings

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
includeSubscribedboolean
maxChangeIdCountstring (int64)
startChangeIdstring (int64)

SELECT examples

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

SELECT
name,
additionalRoleInfo,
canCreateDrives,
canCreateTeamDrives,
domainSharingPolicy,
driveThemes,
etag,
exportFormats,
features,
folderColorPalette,
importFormats,
isCurrentAppInstalled,
kind,
languageCode,
largestChangeId,
maxUploadSizes,
permissionId,
quotaBytesByService,
quotaBytesTotal,
quotaBytesUsed,
quotaBytesUsedAggregate,
quotaBytesUsedInTrash,
quotaType,
remainingChangeIds,
rootFolderId,
selfLink,
teamDriveThemes,
user
FROM googleworkspace.drivev2.about
WHERE includeSubscribed = '{{ includeSubscribed }}'
AND maxChangeIdCount = '{{ maxChangeIdCount }}'
AND startChangeId = '{{ startChangeId }}'
;