Resource: About
Information about the user, the user's Drive, and system capabilities.
JSON representation |
---|
{
"kind": string,
"storageQuota": {
"limit": string,
"usageInDrive": string,
"usageInDriveTrash": string,
"usage": string
},
"driveThemes": [
{
"id": string,
"backgroundImageLink": string,
"colorRgb": string
}
],
"canCreateDrives": boolean,
"importFormats": {
string: value,
...
},
"exportFormats": {
string: value,
...
},
"appInstalled": boolean,
"user": {
object ( |
Fields | |
---|---|
kind |
Identifies what kind of resource this is. Value: the fixed string |
storageQuota |
The user's storage quota limits and usage. For users that are part of an organization with pooled storage, information about the limit and usage across all services is for the organization, rather than the individual user. All fields are measured in bytes. |
storageQuota.limit |
The usage limit, if applicable. This will not be present if the user has unlimited storage. For users that are part of an organization with pooled storage, this is the limit for the organization, rather than the individual user. |
storageQuota.usageInDrive |
The usage by all files in Google Drive. |
storageQuota.usageInDriveTrash |
The usage by trashed files in Google Drive. |
storageQuota.usage |
The total usage across all services. For users that are part of an organization with pooled storage, this is the usage across all services for the organization, rather than the individual user. |
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. |
importFormats |
A map of source MIME type to possible targets for all supported imports. An object containing a list of |
exportFormats |
A map of source MIME type to possible targets for all supported exports. An object containing a list of |
appInstalled |
Whether the user has installed the requesting app. |
user |
The authenticated user. |
folderColorPalette[] |
The currently supported folder colors as RGB hex strings. |
maxImportSizes |
A map of maximum import sizes by MIME type, in bytes. An object containing a list of |
maxUploadSize |
The maximum upload size in bytes. |
teamDriveThemes[] |
Deprecated: Use |
teamDriveThemes[] |
Deprecated: Use |
teamDriveThemes[] |
Deprecated: Use |
teamDriveThemes[] |
Deprecated: Use |
canCreateTeamDrives |
Deprecated: Use |
Methods |
|
---|---|
|
Gets information about the user, the user's Drive, and system capabilities. |