Skip to content

Google: Gets information about the user, the user's Drive, and system capabilities For more information, see Return user info (https: developers google com workspace drive api guides user-info) Required: The `fields` parameter must be set To return the exact fields you need, see Return specific fields (https: developers google com workspace drive api guides fields-parameter) — response body

Gets information about the user, the user's Drive, and system capabilities. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info). Required: The `fields` parameter must be set. To return the exact fields you need, see [Return specific fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter).: response body. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Gets information about the user, the user's Drive, and system capabilities. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info). Required: The `fields` parameter must be set To return the exact fields you need, see Return specific fields (https: developers google com workspace drive api guides fields-parameter) — response body

FieldTypePresenceDescription and constraints
$objectRootInformation about the user, the user’s Drive, and system capabilities.
appInstalledbooleanOptionalWhether the user has installed the requesting app.
canCreateDrivesbooleanOptionalWhether the user can create shared drives.
canCreateTeamDrivesbooleanOptionalDeprecated: Use `canCreateDrives` instead.
driveThemesarrayOptionalA list of themes that are supported for shared drives.
driveThemes[]objectEach item
driveThemes[].backgroundImageLinkstringOptionalA link to this theme’s background image.
driveThemes[].colorRgbstringOptionalThe color of this theme as an RGB hex string.
driveThemes[].idstringOptionalThe ID of the theme.
exportFormatsobjectOptionalA map of source MIME type to possible targets for all supported exports.
Additional keys: see wildcard field
exportFormats.*arrayAdditional keys
exportFormats.*[]stringEach item
folderColorPalettearrayOptionalThe currently supported folder colors as RGB hex strings.
folderColorPalette[]stringEach item
importFormatsobjectOptionalA map of source MIME type to possible targets for all supported imports.
Additional keys: see wildcard field
importFormats.*arrayAdditional keys
importFormats.*[]stringEach item
kindstringOptionalIdentifies what kind of resource this is. Value: the fixed string `“drive#about”`.
Default: drive#about
maxImportSizesobjectOptionalA map of maximum import sizes by MIME type, in bytes.
Additional keys: see wildcard field
maxImportSizes.*stringAdditional keysFormat: int64
maxUploadSizestringOptionalThe maximum upload size in bytes.
Format: int64
storageQuotaobjectOptionalThe 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.limitstringOptionalThe 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.
Format: int64
storageQuota.usagestringOptionalThe 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.
Format: int64
storageQuota.usageInDrivestringOptionalThe usage by all files in Google Drive.
Format: int64
storageQuota.usageInDriveTrashstringOptionalThe usage by trashed files in Google Drive.
Format: int64
teamDriveThemesarrayOptionalDeprecated: Use `driveThemes` instead.
teamDriveThemes[]objectEach item
teamDriveThemes[].backgroundImageLinkstringOptionalDeprecated: Use `driveThemes/backgroundImageLink` instead.
teamDriveThemes[].colorRgbstringOptionalDeprecated: Use `driveThemes/colorRgb` instead.
teamDriveThemes[].idstringOptionalDeprecated: Use `driveThemes/id` instead.
userModelOptionalExpand Gets information about the user, the user’s Drive, and system capabilities. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info). Required: The `fields` parameter must be set To return the exact fields you need, see Return specific fields (https: developers google com workspace drive api guides fields-parameter) — response body — user
The authenticated user.

Referenced models: Gets information about the user, the user’s Drive, and system capabilities. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info). Required: The `fields` parameter must be set To return the exact fields you need, see Return specific fields (https: developers google com workspace drive api guides fields-parameter) — response body — user

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.