Skip to main content

Google Drive

Read and write files to Google Drive.

Google Drive Logo

Authentication

This connector uses OAuth 2.0 authentication.

info

Set up your connection in the Abstra Console before using it in your workflows.

How to use

Using the Smart Chat

Execute the action "CHOOSE_ONE_ACTION_BELOW" from my connector "YOUR_CONNECTOR_NAME" using the params "PARAMS_HERE".

Using the Web Editor

from abstra.connectors import run_connection_action

result = run_connection_action(
connection_name="your_connection_name",
action_name="your_action_name",
params={
"param1": "value1",
"param2": "value2"
})

Available Actions

This connector provides 55 actions:

ActionParameters
operations_getNo parameters
about_getNo parameters
apps_getNo parameters
apps_listNo parameters
changes_get_start_page_tokenNo parameters
changes_listNo parameters
changes_watchpayload (boolean)
id (string)
resourceId (string)
resourceUri (string)
token (string)
expiration (string)
type (string)
address (string)
params (object)
kind (string)
channels_stoppayload (boolean)
id (string)
resourceId (string)
resourceUri (string)
token (string)
expiration (string)
type (string)
address (string)
params (object)
kind (string)
comments_createid (string)
kind (string)
createdTime (string)
modifiedTime (string)
resolved (boolean)
anchor (string)
replies (array)
author (undefined)
deleted (boolean)
htmlContent (string)
content (string)
quotedFileContent: {
. mimeType (string)
. value (string)
} (object)
comments_deleteNo parameters
comments_getNo parameters
comments_listNo parameters
comments_updateid (string)
kind (string)
createdTime (string)
modifiedTime (string)
resolved (boolean)
anchor (string)
replies (array)
author (undefined)
deleted (boolean)
htmlContent (string)
content (string)
quotedFileContent: {
. mimeType (string)
. value (string)
} (object)
drives_createid (string)
name (string)
colorRgb (string)
kind (string)
backgroundImageLink (string)
capabilities: {
. canAddChildren (boolean)
. canComment (boolean)
. canCopy (boolean)
. canDeleteDrive (boolean)
. canDownload (boolean)
. canEdit (boolean)
. canListChildren (boolean)
. canManageMembers (boolean)
. canReadRevisions (boolean)
. canRename (boolean)
. canRenameDrive (boolean)
. canChangeDriveBackground (boolean)
. canShare (boolean)
. canChangeCopyRequiresWriterPermissionRestriction (boolean)
. canChangeDomainUsersOnlyRestriction (boolean)
. canChangeDriveMembersOnlyRestriction (boolean)
. canChangeSharingFoldersRequiresOrganizerPermissionRestriction (boolean)
. canResetDriveRestrictions (boolean)
. canDeleteChildren (boolean)
. canTrashChildren (boolean)
. canChangeDownloadRestriction (boolean)
} (object)
themeId (string)
backgroundImageFile: {
. id (string)
. xCoordinate (number)
. yCoordinate (number)
. width (number)
} (object)
createdTime (string)
hidden (boolean)
restrictions: {
. copyRequiresWriterPermission (boolean)
. domainUsersOnly (boolean)
. driveMembersOnly (boolean)
. adminManagedRestrictions (boolean)
. sharingFoldersRequiresOrganizerPermission (boolean)
. downloadRestriction
} (object)
orgUnitId (string)
drives_deleteNo parameters
drives_getNo parameters
drives_hideNo parameters
drives_listNo parameters
drives_unhideNo parameters
drives_updateid (string)
name (string)
colorRgb (string)
kind (string)
backgroundImageLink (string)
capabilities: {
. canAddChildren (boolean)
. canComment (boolean)
. canCopy (boolean)
. canDeleteDrive (boolean)
. canDownload (boolean)
. canEdit (boolean)
. canListChildren (boolean)
. canManageMembers (boolean)
. canReadRevisions (boolean)
. canRename (boolean)
. canRenameDrive (boolean)
. canChangeDriveBackground (boolean)
. canShare (boolean)
. canChangeCopyRequiresWriterPermissionRestriction (boolean)
. canChangeDomainUsersOnlyRestriction (boolean)
. canChangeDriveMembersOnlyRestriction (boolean)
. canChangeSharingFoldersRequiresOrganizerPermissionRestriction (boolean)
. canResetDriveRestrictions (boolean)
. canDeleteChildren (boolean)
. canTrashChildren (boolean)
. canChangeDownloadRestriction (boolean)
} (object)
themeId (string)
backgroundImageFile: {
. id (string)
. xCoordinate (number)
. yCoordinate (number)
. width (number)
} (object)
createdTime (string)
hidden (boolean)
restrictions: {
. copyRequiresWriterPermission (boolean)
. domainUsersOnly (boolean)
. driveMembersOnly (boolean)
. adminManagedRestrictions (boolean)
. sharingFoldersRequiresOrganizerPermission (boolean)
. downloadRestriction
} (object)
orgUnitId (string)
files_copykind (string)
driveId (string)
fileExtension (string)
copyRequiresWriterPermission (boolean)
md5Checksum (string)
contentHints: {
. indexableText (string)
. thumbnail (object)
} (object)
writersCanShare (boolean)
viewedByMe (boolean)
mimeType (string)
exportLinks (object)
parents (array)
thumbnailLink (string)
iconLink (string)
shared (boolean)
lastModifyingUser (undefined)
owners (array)
headRevisionId (string)
sharingUser (undefined)
webViewLink (string)
webContentLink (string)
size (string)
viewersCanCopyContent (boolean)
permissions (array)
hasThumbnail (boolean)
spaces (array)
folderColorRgb (string)
id (string)
name (string)
description (string)
starred (boolean)
trashed (boolean)
explicitlyTrashed (boolean)
createdTime (string)
modifiedTime (string)
modifiedByMeTime (string)
viewedByMeTime (string)
sharedWithMeTime (string)
quotaBytesUsed (string)
version (string)
originalFilename (string)
ownedByMe (boolean)
fullFileExtension (string)
properties (object)
appProperties (object)
isAppAuthorized (boolean)
teamDriveId (string)
capabilities: {
. canChangeViewersCanCopyContent (boolean)
. canMoveChildrenOutOfDrive (boolean)
. canReadDrive (boolean)
. canEdit (boolean)
. canCopy (boolean)
. canComment (boolean)
. canAddChildren (boolean)
. canDelete (boolean)
. canDownload (boolean)
. canListChildren (boolean)
. canRemoveChildren (boolean)
. canRename (boolean)
. canTrash (boolean)
. canReadRevisions (boolean)
. canReadTeamDrive (boolean)
. canMoveTeamDriveItem (boolean)
. canChangeCopyRequiresWriterPermission (boolean)
. canMoveItemIntoTeamDrive (boolean)
. canUntrash (boolean)
. canModifyContent (boolean)
. canMoveItemWithinTeamDrive (boolean)
. canMoveItemOutOfTeamDrive (boolean)
. canDeleteChildren (boolean)
. canMoveChildrenOutOfTeamDrive (boolean)
. canMoveChildrenWithinTeamDrive (boolean)
. canTrashChildren (boolean)
. canMoveItemOutOfDrive (boolean)
. canAddMyDriveParent (boolean)
. canRemoveMyDriveParent (boolean)
. canMoveItemWithinDrive (boolean)
. canShare (boolean)
. canMoveChildrenWithinDrive (boolean)
. canModifyContentRestriction (boolean)
. canAddFolderFromAnotherDrive (boolean)
. canChangeSecurityUpdateEnabled (boolean)
. canAcceptOwnership (boolean)
. canReadLabels (boolean)
. canModifyLabels (boolean)
. canModifyEditorContentRestriction (boolean)
. canModifyOwnerContentRestriction (boolean)
. canRemoveContentRestriction (boolean)
. canDisableInheritedPermissions (boolean)
. canEnableInheritedPermissions (boolean)
. canChangeItemDownloadRestriction (boolean)
} (object)
hasAugmentedPermissions (boolean)
trashingUser (undefined)
thumbnailVersion (string)
trashedTime (string)
modifiedByMe (boolean)
permissionIds (array)
imageMediaMetadata: {
. flashUsed (boolean)
. meteringMode (string)
. sensor (string)
. exposureMode (string)
. colorSpace (string)
. whiteBalance (string)
. width (integer)
. height (integer)
. location (object)
. rotation (integer)
. time (string)
. cameraMake (string)
. cameraModel (string)
. exposureTime (number)
. aperture (number)
. focalLength (number)
. isoSpeed (integer)
. exposureBias (number)
. maxApertureValue (number)
. subjectDistance (integer)
. lens (string)
} (object)
videoMediaMetadata: {
. width (integer)
. height (integer)
. durationMillis (string)
} (object)
shortcutDetails: {
. targetId (string)
. targetMimeType (string)
. targetResourceKey (string)
} (object)
contentRestrictions (array)
resourceKey (string)
linkShareMetadata: {
. securityUpdateEligible (boolean)
. securityUpdateEnabled (boolean)
} (object)
labelInfo: {
. labels (array)
} (object)
sha1Checksum (string)
sha256Checksum (string)
inheritedPermissionsDisabled (boolean)
downloadRestrictions (undefined)
files_createkind (string)
driveId (string)
fileExtension (string)
copyRequiresWriterPermission (boolean)
md5Checksum (string)
contentHints: {
. indexableText (string)
. thumbnail (object)
} (object)
writersCanShare (boolean)
viewedByMe (boolean)
mimeType (string)
exportLinks (object)
parents (array)
thumbnailLink (string)
iconLink (string)
shared (boolean)
lastModifyingUser (undefined)
owners (array)
headRevisionId (string)
sharingUser (undefined)
webViewLink (string)
webContentLink (string)
size (string)
viewersCanCopyContent (boolean)
permissions (array)
hasThumbnail (boolean)
spaces (array)
folderColorRgb (string)
id (string)
name (string)
description (string)
starred (boolean)
trashed (boolean)
explicitlyTrashed (boolean)
createdTime (string)
modifiedTime (string)
modifiedByMeTime (string)
viewedByMeTime (string)
sharedWithMeTime (string)
quotaBytesUsed (string)
version (string)
originalFilename (string)
ownedByMe (boolean)
fullFileExtension (string)
properties (object)
appProperties (object)
isAppAuthorized (boolean)
teamDriveId (string)
capabilities: {
. canChangeViewersCanCopyContent (boolean)
. canMoveChildrenOutOfDrive (boolean)
. canReadDrive (boolean)
. canEdit (boolean)
. canCopy (boolean)
. canComment (boolean)
. canAddChildren (boolean)
. canDelete (boolean)
. canDownload (boolean)
. canListChildren (boolean)
. canRemoveChildren (boolean)
. canRename (boolean)
. canTrash (boolean)
. canReadRevisions (boolean)
. canReadTeamDrive (boolean)
. canMoveTeamDriveItem (boolean)
. canChangeCopyRequiresWriterPermission (boolean)
. canMoveItemIntoTeamDrive (boolean)
. canUntrash (boolean)
. canModifyContent (boolean)
. canMoveItemWithinTeamDrive (boolean)
. canMoveItemOutOfTeamDrive (boolean)
. canDeleteChildren (boolean)
. canMoveChildrenOutOfTeamDrive (boolean)
. canMoveChildrenWithinTeamDrive (boolean)
. canTrashChildren (boolean)
. canMoveItemOutOfDrive (boolean)
. canAddMyDriveParent (boolean)
. canRemoveMyDriveParent (boolean)
. canMoveItemWithinDrive (boolean)
. canShare (boolean)
. canMoveChildrenWithinDrive (boolean)
. canModifyContentRestriction (boolean)
. canAddFolderFromAnotherDrive (boolean)
. canChangeSecurityUpdateEnabled (boolean)
. canAcceptOwnership (boolean)
. canReadLabels (boolean)
. canModifyLabels (boolean)
. canModifyEditorContentRestriction (boolean)
. canModifyOwnerContentRestriction (boolean)
. canRemoveContentRestriction (boolean)
. canDisableInheritedPermissions (boolean)
. canEnableInheritedPermissions (boolean)
. canChangeItemDownloadRestriction (boolean)
} (object)
hasAugmentedPermissions (boolean)
trashingUser (undefined)
thumbnailVersion (string)
trashedTime (string)
modifiedByMe (boolean)
permissionIds (array)
imageMediaMetadata: {
. flashUsed (boolean)
. meteringMode (string)
. sensor (string)
. exposureMode (string)
. colorSpace (string)
. whiteBalance (string)
. width (integer)
. height (integer)
. location (object)
. rotation (integer)
. time (string)
. cameraMake (string)
. cameraModel (string)
. exposureTime (number)
. aperture (number)
. focalLength (number)
. isoSpeed (integer)
. exposureBias (number)
. maxApertureValue (number)
. subjectDistance (integer)
. lens (string)
} (object)
videoMediaMetadata: {
. width (integer)
. height (integer)
. durationMillis (string)
} (object)
shortcutDetails: {
. targetId (string)
. targetMimeType (string)
. targetResourceKey (string)
} (object)
contentRestrictions (array)
resourceKey (string)
linkShareMetadata: {
. securityUpdateEligible (boolean)
. securityUpdateEnabled (boolean)
} (object)
labelInfo: {
. labels (array)
} (object)
sha1Checksum (string)
sha256Checksum (string)
inheritedPermissionsDisabled (boolean)
downloadRestrictions (undefined)
files_deleteNo parameters
files_empty_trashNo parameters
files_exportNo parameters
files_generate_idsNo parameters
files_getNo parameters
files_listNo parameters
files_list_labelsNo parameters
files_modify_labelslabelModifications (array)
kind (string)
files_updatekind (string)
driveId (string)
fileExtension (string)
copyRequiresWriterPermission (boolean)
md5Checksum (string)
contentHints: {
. indexableText (string)
. thumbnail (object)
} (object)
writersCanShare (boolean)
viewedByMe (boolean)
mimeType (string)
exportLinks (object)
parents (array)
thumbnailLink (string)
iconLink (string)
shared (boolean)
lastModifyingUser (undefined)
owners (array)
headRevisionId (string)
sharingUser (undefined)
webViewLink (string)
webContentLink (string)
size (string)
viewersCanCopyContent (boolean)
permissions (array)
hasThumbnail (boolean)
spaces (array)
folderColorRgb (string)
id (string)
name (string)
description (string)
starred (boolean)
trashed (boolean)
explicitlyTrashed (boolean)
createdTime (string)
modifiedTime (string)
modifiedByMeTime (string)
viewedByMeTime (string)
sharedWithMeTime (string)
quotaBytesUsed (string)
version (string)
originalFilename (string)
ownedByMe (boolean)
fullFileExtension (string)
properties (object)
appProperties (object)
isAppAuthorized (boolean)
teamDriveId (string)
capabilities: {
. canChangeViewersCanCopyContent (boolean)
. canMoveChildrenOutOfDrive (boolean)
. canReadDrive (boolean)
. canEdit (boolean)
. canCopy (boolean)
. canComment (boolean)
. canAddChildren (boolean)
. canDelete (boolean)
. canDownload (boolean)
. canListChildren (boolean)
. canRemoveChildren (boolean)
. canRename (boolean)
. canTrash (boolean)
. canReadRevisions (boolean)
. canReadTeamDrive (boolean)
. canMoveTeamDriveItem (boolean)
. canChangeCopyRequiresWriterPermission (boolean)
. canMoveItemIntoTeamDrive (boolean)
. canUntrash (boolean)
. canModifyContent (boolean)
. canMoveItemWithinTeamDrive (boolean)
. canMoveItemOutOfTeamDrive (boolean)
. canDeleteChildren (boolean)
. canMoveChildrenOutOfTeamDrive (boolean)
. canMoveChildrenWithinTeamDrive (boolean)
. canTrashChildren (boolean)
. canMoveItemOutOfDrive (boolean)
. canAddMyDriveParent (boolean)
. canRemoveMyDriveParent (boolean)
. canMoveItemWithinDrive (boolean)
. canShare (boolean)
. canMoveChildrenWithinDrive (boolean)
. canModifyContentRestriction (boolean)
. canAddFolderFromAnotherDrive (boolean)
. canChangeSecurityUpdateEnabled (boolean)
. canAcceptOwnership (boolean)
. canReadLabels (boolean)
. canModifyLabels (boolean)
. canModifyEditorContentRestriction (boolean)
. canModifyOwnerContentRestriction (boolean)
. canRemoveContentRestriction (boolean)
. canDisableInheritedPermissions (boolean)
. canEnableInheritedPermissions (boolean)
. canChangeItemDownloadRestriction (boolean)
} (object)
hasAugmentedPermissions (boolean)
trashingUser (undefined)
thumbnailVersion (string)
trashedTime (string)
modifiedByMe (boolean)
permissionIds (array)
imageMediaMetadata: {
. flashUsed (boolean)
. meteringMode (string)
. sensor (string)
. exposureMode (string)
. colorSpace (string)
. whiteBalance (string)
. width (integer)
. height (integer)
. location (object)
. rotation (integer)
. time (string)
. cameraMake (string)
. cameraModel (string)
. exposureTime (number)
. aperture (number)
. focalLength (number)
. isoSpeed (integer)
. exposureBias (number)
. maxApertureValue (number)
. subjectDistance (integer)
. lens (string)
} (object)
videoMediaMetadata: {
. width (integer)
. height (integer)
. durationMillis (string)
} (object)
shortcutDetails: {
. targetId (string)
. targetMimeType (string)
. targetResourceKey (string)
} (object)
contentRestrictions (array)
resourceKey (string)
linkShareMetadata: {
. securityUpdateEligible (boolean)
. securityUpdateEnabled (boolean)
} (object)
labelInfo: {
. labels (array)
} (object)
sha1Checksum (string)
sha256Checksum (string)
inheritedPermissionsDisabled (boolean)
downloadRestrictions (undefined)
files_watchpayload (boolean)
id (string)
resourceId (string)
resourceUri (string)
token (string)
expiration (string)
type (string)
address (string)
params (object)
kind (string)
files_downloadNo parameters
permissions_createid (string)
displayName (string)
type (string)
kind (string)
permissionDetails (array)
photoLink (string)
emailAddress (string)
role (string)
allowFileDiscovery (boolean)
domain (string)
expirationTime (string)
teamDrivePermissionDetails (array)
deleted (boolean)
view (string)
pendingOwner (boolean)
inheritedPermissionsDisabled (boolean)
permissions_deleteNo parameters
permissions_getNo parameters
permissions_listNo parameters
permissions_updateid (string)
displayName (string)
type (string)
kind (string)
permissionDetails (array)
photoLink (string)
emailAddress (string)
role (string)
allowFileDiscovery (boolean)
domain (string)
expirationTime (string)
teamDrivePermissionDetails (array)
deleted (boolean)
view (string)
pendingOwner (boolean)
inheritedPermissionsDisabled (boolean)
replies_createid (string)
kind (string)
createdTime (string)
modifiedTime (string)
action (string)
author (undefined)
deleted (boolean)
htmlContent (string)
content (string)
replies_deleteNo parameters
replies_getNo parameters
replies_listNo parameters
replies_updateid (string)
kind (string)
createdTime (string)
modifiedTime (string)
action (string)
author (undefined)
deleted (boolean)
htmlContent (string)
content (string)
revisions_deleteNo parameters
revisions_getNo parameters
revisions_listNo parameters
revisions_updateid (string)
mimeType (string)
kind (string)
published (boolean)
exportLinks (object)
keepForever (boolean)
md5Checksum (string)
modifiedTime (string)
publishAuto (boolean)
publishedOutsideDomain (boolean)
publishedLink (string)
size (string)
originalFilename (string)
lastModifyingUser (undefined)
teamdrives_createid (string)
name (string)
colorRgb (string)
kind (string)
backgroundImageLink (string)
capabilities: {
. canAddChildren (boolean)
. canComment (boolean)
. canCopy (boolean)
. canDeleteTeamDrive (boolean)
. canDownload (boolean)
. canEdit (boolean)
. canListChildren (boolean)
. canManageMembers (boolean)
. canReadRevisions (boolean)
. canRemoveChildren (boolean)
. canRename (boolean)
. canRenameTeamDrive (boolean)
. canChangeTeamDriveBackground (boolean)
. canShare (boolean)
. canChangeCopyRequiresWriterPermissionRestriction (boolean)
. canChangeDomainUsersOnlyRestriction (boolean)
. canChangeSharingFoldersRequiresOrganizerPermissionRestriction (boolean)
. canChangeTeamMembersOnlyRestriction (boolean)
. canDeleteChildren (boolean)
. canTrashChildren (boolean)
. canResetTeamDriveRestrictions (boolean)
. canChangeDownloadRestriction (boolean)
} (object)
themeId (string)
backgroundImageFile: {
. id (string)
. xCoordinate (number)
. yCoordinate (number)
. width (number)
} (object)
createdTime (string)
restrictions: {
. copyRequiresWriterPermission (boolean)
. domainUsersOnly (boolean)
. teamMembersOnly (boolean)
. adminManagedRestrictions (boolean)
. sharingFoldersRequiresOrganizerPermission (boolean)
. downloadRestriction
} (object)
orgUnitId (string)
teamdrives_deleteNo parameters
teamdrives_getNo parameters
teamdrives_listNo parameters
teamdrives_updateid (string)
name (string)
colorRgb (string)
kind (string)
backgroundImageLink (string)
capabilities: {
. canAddChildren (boolean)
. canComment (boolean)
. canCopy (boolean)
. canDeleteTeamDrive (boolean)
. canDownload (boolean)
. canEdit (boolean)
. canListChildren (boolean)
. canManageMembers (boolean)
. canReadRevisions (boolean)
. canRemoveChildren (boolean)
. canRename (boolean)
. canRenameTeamDrive (boolean)
. canChangeTeamDriveBackground (boolean)
. canShare (boolean)
. canChangeCopyRequiresWriterPermissionRestriction (boolean)
. canChangeDomainUsersOnlyRestriction (boolean)
. canChangeSharingFoldersRequiresOrganizerPermissionRestriction (boolean)
. canChangeTeamMembersOnlyRestriction (boolean)
. canDeleteChildren (boolean)
. canTrashChildren (boolean)
. canResetTeamDriveRestrictions (boolean)
. canChangeDownloadRestriction (boolean)
} (object)
themeId (string)
backgroundImageFile: {
. id (string)
. xCoordinate (number)
. yCoordinate (number)
. width (number)
} (object)
createdTime (string)
restrictions: {
. copyRequiresWriterPermission (boolean)
. domainUsersOnly (boolean)
. teamMembersOnly (boolean)
. adminManagedRestrictions (boolean)
. sharingFoldersRequiresOrganizerPermission (boolean)
. downloadRestriction
} (object)
orgUnitId (string)
accessproposals_getNo parameters
accessproposals_resolverole (array)
view (string)
action (string)
sendNotification (boolean)
accessproposals_listNo parameters