Skip to content

Google: Drive about schemas

2 Google schemas with complete fields and constraints.

← Drive about operations · All schemas

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

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

FieldTypePresenceDescription and constraints
$objectRootInformation about a Drive user.
displayNamestringOptionalOutput only. A plain text displayable name for this user.
Read only: true
emailAddressstringOptionalOutput only. The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester.
Read only: true
kindstringOptionalOutput only. Identifies what kind of resource this is. Value: the fixed string `drive#user`.
Default: drive#user
Read only: true
mebooleanOptionalOutput only. Whether this user is the requesting user.
Read only: true
permissionIdstringOptionalOutput only. The user's ID as visible in Permission resources.
Read only: true
photoLinkstringOptionalOutput only. A link to the user's profile photo, if available.
Read only: true

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.