Resource: About
An item with user information and settings.
JSON representation |
---|
{
"name": string,
"quotaBytesTotal": string,
"quotaBytesUsed": string,
"quotaBytesUsedInTrash": string,
"largestChangeId": string,
"remainingChangeIds": string,
"rootFolderId": string,
"importFormats": [
{
"source": string,
"targets": [
string
]
}
],
"exportFormats": [
{
"source": string,
"targets": [
string
]
}
],
"additionalRoleInfo": [
{
"type": string,
"roleSets": [
{
"primaryRole": string,
"additionalRoles": [
string
]
}
]
}
],
"features": [
{
"featureName": string,
"featureRate": number
}
],
"maxUploadSizes": [
{
"type": string,
"size": string
}
],
"domainSharingPolicy": string,
"kind": string,
"permissionId": string,
"isCurrentAppInstalled": boolean,
"quotaBytesUsedAggregate": string,
"user": {
object ( |
Fields | |
---|---|
name |
The name of the current user. |
quotaBytesTotal |
The total number of quota bytes. This is only relevant when quotaType is LIMITED. |
quotaBytesUsed |
The number of quota bytes used by Google Drive. |
quotaBytesUsedInTrash |
The number of quota bytes used by trashed items. |
largestChangeId |
The largest change id. |
remainingChangeIds |
The number of remaining change ids, limited to no more than 2500. |
rootFolderId |
The id of the root folder. |
importFormats[] |
The allowable import formats. |
importFormats[].source |
The imported file's content type to convert from. |
importFormats[].targets[] |
The possible content types to convert to. |
exportFormats[] |
The allowable export formats. |
exportFormats[].source |
The content type to convert from. |
exportFormats[].targets[] |
The possible content types to convert to. |
additionalRoleInfo[] |
Information about supported additional roles per file type. The most specific type takes precedence. |
additionalRoleInfo[].type |
The content type that this additional role info applies to. |
additionalRoleInfo[].roleSets[] |
The supported additional roles per primary role. |
additionalRoleInfo[].roleSets[].primaryRole |
A primary permission role. |
additionalRoleInfo[].roleSets[].additionalRoles[] |
The supported additional roles with the primary role. |
features[] |
List of additional features enabled on this account. |
features[].featureName |
The name of the feature. |
features[].featureRate |
The request limit rate for this feature, in queries per second. |
maxUploadSizes[] |
List of max upload sizes for each file type. The most specific type takes precedence. |
maxUploadSizes[].type |
The file type. |
maxUploadSizes[].size |
The max upload size for this type. |
domainSharingPolicy |
The domain sharing policy for the current user. Possible values are:
|
kind |
This is always |
permissionId |
The current user's ID as visible in the permissions collection. |
isCurrentAppInstalled |
A boolean indicating whether the authenticated app is installed by the authenticated user. |
quotaBytesUsedAggregate |
The number of quota bytes used by all Google apps (Drive, Picasa, etc.). |
user |
The authenticated user. |
etag |
The ETag of the item. |
languageCode |
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/). |
selfLink |
A link back to this item. |
quotaType |
The type of the user's storage quota. Possible values are:
|
folderColorPalette[] |
The palette of allowable folder colors as RGB hex strings. |
driveThemes[] |
A list of themes that are supported for shared drives. |
driveThemes[].id |
The ID of the theme. |
driveThemes[].backgroundImageLink |
A link to this theme's background image. |
driveThemes[].colorRgb |
The color of this theme as an RGB hex string. |
canCreateDrives |
Whether the user can create shared drives. |
quotaBytesByService[] |
The amount of storage quota used by different Google services. |
quotaBytesByService[].serviceName |
The service's name, e.g. DRIVE, GMAIL, or PHOTOS. |
quotaBytesByService[].bytesUsed |
The storage quota bytes used by the service. |
teamDriveThemes[] |
Deprecated: Use |
teamDriveThemes[] |
Deprecated: Use |
teamDriveThemes[] |
Deprecated: Use |
teamDriveThemes[] |
Deprecated: Use |
canCreateTeamDrives |
Deprecated: Use |
Methods |
|
---|---|
|
Gets the information about the current user along with Drive API settings |