Google Drive

Storage & databasesOAuth 2.0

Find, read, create, organize and share files in Google Drive.

48 actions

ActionEffectData handledScope
google_drive_search_filesFinds files and folders in Google Drive with a Drive search query, including shared drivesreadPersonal datahttps://www.googleapis.com/auth/drive.metadata.readonly
google_drive_get_fileReads a Drive file's metadata: name, type, folder, size, owners and linkreadPersonal datahttps://www.googleapis.com/auth/drive.metadata.readonly
google_drive_export_fileReads a Google Doc, Sheet or Slides file as text: Docs and Slides as plain text, a Sheet's first tab as CSVreadPersonal datahttps://www.googleapis.com/auth/drive.readonly
google_drive_download_fileReads the content of any file stored in Drive, such as a PDF or an image, as base64, up to 10 MB, with its content typereadPersonal datahttps://www.googleapis.com/auth/drive.readonly
google_drive_read_text_fileReads the content of a text file stored in Drive as text, such as .txt, .csv, .md or .jsonreadPersonal datahttps://www.googleapis.com/auth/drive.readonly
google_drive_create_folderCreates a folder in Google Drive, at the top level or inside another folderwritePersonal datahttps://www.googleapis.com/auth/drive.file
google_drive_create_text_fileCreates a small text file in Google Drive with the given content, such as notes, CSV or MarkdownwritePersonal datahttps://www.googleapis.com/auth/drive.file
google_drive_upload_fileUploads a file of any type from base64 contentwritePersonal datahttps://www.googleapis.com/auth/drive.file
google_drive_update_fileRenames a file or folder, or moves it by adding and removing parent folderswritePersonal datahttps://www.googleapis.com/auth/drive
google_drive_copy_fileMakes a copy of a file, optionally with a new name or in another folderwritePersonal datahttps://www.googleapis.com/auth/drive
google_drive_trash_fileMoves a file or folder to the Drive trash, where it is deleted after 30 daysdestructivePersonal datahttps://www.googleapis.com/auth/drive
google_drive_share_fileShares a file or folder with a person, a group, a domain or anyone with the linkwritePersonal datahttps://www.googleapis.com/auth/drive
google_drive_list_permissionsLists who a file or folder is shared with and their access levelreadPersonal datahttps://www.googleapis.com/auth/drive.metadata.readonly
google_drive_update_file_metadataChanges the description, star, custom properties or sharing restrictions of a file or folderwritePersonal datahttps://www.googleapis.com/auth/drive
google_drive_restore_fileMoves a file or folder out of the Drive trash back to where it waswritePersonal datahttps://www.googleapis.com/auth/drive
google_drive_delete_filePermanently deletes a file or folder owned by the user, skipping the trashdestructivePersonal datahttps://www.googleapis.com/auth/drive
google_drive_empty_trashPermanently deletes every file in the user's Drive trash, or in the trash of one shared drivedestructivePersonal datahttps://www.googleapis.com/auth/drive
google_drive_generate_file_idsGenerates ids that can be used for new files, so a file can be created with an id chosen in advancereadGeneralhttps://www.googleapis.com/auth/drive
google_drive_list_file_labelsLists the Drive labels applied to a file, such as classification or approval labels, with their field valuesreadPersonal datahttps://www.googleapis.com/auth/drive.metadata.readonly
google_drive_modify_file_labelsAdds, updates or removes Drive labels and their field values on a filewritePersonal datahttps://www.googleapis.com/auth/drive
google_drive_export_file_binaryExports a Google Doc, Sheet, Slides or Drawing as a file such as PDF, DOCX, XLSX or PPTX, returned as base64 with its content type, up to 10 MBreadPersonal datahttps://www.googleapis.com/auth/drive.readonly
google_drive_get_permissionReads one permission of a file: who has access and with which rolereadPersonal datahttps://www.googleapis.com/auth/drive.metadata.readonly
google_drive_update_permissionChanges the role of an existing permission, sets when it expires, or transfers ownership of a file to another userwritePersonal datahttps://www.googleapis.com/auth/drive
google_drive_delete_permissionRemoves a permission so the person, group, domain or link no longer has access to the filedestructivePersonal datahttps://www.googleapis.com/auth/drive
google_drive_list_commentsLists the comments on a file with their replies, including who wrote them and whether they are resolvedreadPersonal datahttps://www.googleapis.com/auth/drive.readonly
google_drive_get_commentReads one comment on a file with its repliesreadPersonal datahttps://www.googleapis.com/auth/drive.readonly
google_drive_create_commentAdds a comment to a filewritePersonal datahttps://www.googleapis.com/auth/drive
google_drive_update_commentChanges the text of a comment you wrotewritePersonal datahttps://www.googleapis.com/auth/drive
google_drive_delete_commentDeletes a comment and its replies from a filedestructivePersonal datahttps://www.googleapis.com/auth/drive
google_drive_list_repliesLists the replies to a comment on a filereadPersonal datahttps://www.googleapis.com/auth/drive.readonly
google_drive_get_replyReads one reply to a commentreadPersonal datahttps://www.googleapis.com/auth/drive.readonly
google_drive_create_replyReplies to a comment, and can resolve or reopen the thread with the action fieldwritePersonal datahttps://www.googleapis.com/auth/drive
google_drive_update_replyChanges the text of a reply you wrotewritePersonal datahttps://www.googleapis.com/auth/drive
google_drive_delete_replyDeletes a reply from a comment threaddestructivePersonal datahttps://www.googleapis.com/auth/drive
google_drive_list_revisionsLists the saved versions of a file with who changed it and whenreadPersonal datahttps://www.googleapis.com/auth/drive.metadata.readonly
google_drive_get_revisionReads the details of one saved version of a file: when it was saved, by whom and its sizereadPersonal datahttps://www.googleapis.com/auth/drive.metadata.readonly
google_drive_update_revisionPins a version so it is kept forever, or publishes it, for files with binary content and Google DocswritePersonal datahttps://www.googleapis.com/auth/drive
google_drive_delete_revisionPermanently deletes one saved version of a file with binary content, such as an uploaded PDFdestructivePersonal datahttps://www.googleapis.com/auth/drive
google_drive_list_shared_drivesLists the shared drives the user can see, optionally filtered by a query on name or visibilityreadGeneralhttps://www.googleapis.com/auth/drive.readonly
google_drive_get_shared_driveReads one shared drive: name, theme, restrictions and what the user can do in itreadGeneralhttps://www.googleapis.com/auth/drive.readonly
google_drive_create_shared_driveCreates a shared drivewriteGeneralhttps://www.googleapis.com/auth/drive
google_drive_update_shared_driveChanges a shared drive's name, theme, color or restrictionswriteGeneralhttps://www.googleapis.com/auth/drive
google_drive_delete_shared_drivePermanently deletes a shared drivedestructiveGeneralhttps://www.googleapis.com/auth/drive
google_drive_hide_shared_driveHides a shared drive from the default view without changing access or deleting anythingwriteGeneralhttps://www.googleapis.com/auth/drive
google_drive_unhide_shared_driveShows a hidden shared drive in the default view againwriteGeneralhttps://www.googleapis.com/auth/drive
google_drive_get_changes_start_page_tokenReturns the token that marks "now" in the change historyreadGeneralhttps://www.googleapis.com/auth/drive.metadata.readonly
google_drive_list_changesLists the files that were added, edited, trashed or removed since a page token, for incremental syncreadPersonal datahttps://www.googleapis.com/auth/drive.metadata.readonly
google_drive_get_aboutReads the Drive account: the user, storage quota and usage, upload limit and the formats Drive can import and exportreadPersonal datahttps://www.googleapis.com/auth/drive.metadata.readonly