Get

Gets information about the user, the user's Drive, and system capabilities

0 variables
32 variables

Gets information about the user, the user's Drive, and system capabilities

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • See, edit, create, and delete all of your Google Drive files
  • View and manage its own configuration data in your Google Drive
  • View and manage Google Drive files and folders that you have opened or created with this app
  • View and manage metadata of files in your Google Drive
  • View metadata for files in your Google Drive
  • View the photos, videos and albums in your Google Photos
  • See and download all your Google Drive files

Output

This building block provides 32 output parameters

  = Parameter name
  = Format

appInstalled BOOLEAN

Whether the user has installed the requesting app

canCreateDrives BOOLEAN

Whether the user can create shared drives

canCreateTeamDrives BOOLEAN

Deprecated - use canCreateDrives instead

driveThemes[] OBJECT

driveThemes[].backgroundImageLink STRING

A link to this theme's background image

driveThemes[].colorRgb STRING

The color of this theme as an RGB hex string

driveThemes[].id STRING

The ID of the theme

exportFormats OBJECT

A map of source MIME type to possible targets for all supported exports

exportFormats.customKey.value OBJECT_ARRAY

A map of source MIME type to possible targets for all supported exports

folderColorPalette[] STRING

importFormats OBJECT

A map of source MIME type to possible targets for all supported imports

importFormats.customKey.value OBJECT_ARRAY

A map of source MIME type to possible targets for all supported imports

kind STRING

Identifies what kind of resource this is. Value: the fixed string "drive#about"

maxImportSizes OBJECT

A map of maximum import sizes by MIME type, in bytes

maxImportSizes.customKey.value INTEGER

A map of maximum import sizes by MIME type, in bytes

maxUploadSize INTEGER

The maximum upload size in bytes

storageQuota OBJECT

The user's storage quota limits and usage. All fields are measured in bytes

storageQuota.limit INTEGER

The usage limit, if applicable. This will not be present if the user has unlimited storage

storageQuota.usage INTEGER

The total usage across all services

storageQuota.usageInDrive INTEGER

The usage by all files in Google Drive

storageQuota.usageInDriveTrash INTEGER

The usage by trashed files in Google Drive

teamDriveThemes[] OBJECT

teamDriveThemes[].backgroundImageLink STRING

Deprecated - use driveThemes/backgroundImageLink instead

teamDriveThemes[].colorRgb STRING

Deprecated - use driveThemes/colorRgb instead

teamDriveThemes[].id STRING

Deprecated - use driveThemes/id instead

user OBJECT

Information about a Drive user

user.displayName STRING

A plain text displayable name for this user

user.emailAddress STRING

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

user.kind STRING

Identifies what kind of resource this is. Value: the fixed string "drive#user"

user.me BOOLEAN

Whether this user is the requesting user

user.permissionId STRING

The user's ID as visible in Permission resources

user.photoLink STRING

A link to the user's profile photo, if available