about
Creates, updates, deletes, gets or lists an about
resource.
Overview
Name | about |
Type | Resource |
Id | googleworkspace.drivev2.about |
Fields
The following fields are returned by SELECT
queries:
- get
Name | Datatype | Description |
---|---|---|
name | string | The name of the current user. |
additionalRoleInfo | array | Information about supported additional roles per file type. The most specific type takes precedence. |
canCreateDrives | boolean | Whether the user can create shared drives. |
canCreateTeamDrives | boolean | Deprecated: Use canCreateDrives instead. |
domainSharingPolicy | string | The domain sharing policy for the current user. Possible values are: * allowed * allowedWithWarning * incomingOnly * disallowed |
driveThemes | array | A list of themes that are supported for shared drives. |
etag | string | The ETag of the item. |
exportFormats | array | The allowable export formats. |
features | array | List of additional features enabled on this account. |
folderColorPalette | array | The palette of allowable folder colors as RGB hex strings. |
importFormats | array | The allowable import formats. |
isCurrentAppInstalled | boolean | A boolean indicating whether the authenticated app is installed by the authenticated user. |
kind | string | This is always drive#about . (default: drive#about) |
languageCode | string | The 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/). |
largestChangeId | string (int64) | The largest change id. |
maxUploadSizes | array | List of max upload sizes for each file type. The most specific type takes precedence. |
permissionId | string | The current user's ID as visible in the permissions collection. |
quotaBytesByService | array | The amount of storage quota used by different Google services. |
quotaBytesTotal | string (int64) | The total number of quota bytes. This is only relevant when quotaType is LIMITED. |
quotaBytesUsed | string (int64) | The number of quota bytes used by Google Drive. |
quotaBytesUsedAggregate | string (int64) | The number of quota bytes used by all Google apps (Drive, Picasa, etc.). |
quotaBytesUsedInTrash | string (int64) | The number of quota bytes used by trashed items. |
quotaType | string | The type of the user's storage quota. Possible values are: * LIMITED * UNLIMITED |
remainingChangeIds | string (int64) | The number of remaining change ids, limited to no more than 2500. |
rootFolderId | string | The id of the root folder. |
selfLink | string | A link back to this item. |
teamDriveThemes | array | Deprecated: Use driveThemes instead. |
user | object | The authenticated user. (id: User) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | includeSubscribed , maxChangeIdCount , startChangeId | Gets 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.
Name | Datatype | Description |
---|---|---|
includeSubscribed | boolean | |
maxChangeIdCount | string (int64) | |
startChangeId | string (int64) |
SELECT
examples
- get
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 }}'
;