EndPoints for Google Drive Connector
On this page you will see possible API actions you can perform with Google Drive connector. We will refer this as API EndPoint or just EndPoint.
Label | Name | Description |
---|---|---|
Get my drive info | get_about | Gets my drive information [API reference] |
Lists shared drives | list_shared_drives | Lists the user's shared drives (i.e. formally known as team drive) with optional search criteria [API reference] |
List files (Recursive) | list_files | List files / folders with search criteria |
List files / folders from a parent folder (Recursive) | list_parent_items | List files or folders under a specified parent folder |
Search items (i.e. files / folders) | list_items | Lists items (i.e. files / folders) with search criteria |
List folders | list_folders | Lists folders |
List deleted files / folders | list_deleted_files | Lists only deleted files / folders from trash |
Get file info | get_file_info | Gets information of a file [API reference] |
Download a file | download_file | Downloads a file [API reference] |
Export a file | export_file | Export a document editor files such document, Spreadsheets, Drawings, Presentations, Apps Scripts to common file formats as defined in this link https://developers.google.com/drive/api/guides/ref-export-formats [API reference] |
Upload a file | upload_file | Uploads a file. If file exits it does not overwrite. If you like to overwrite existing file then use [Replace file data] endpoint. It requires FileId you like to replace. Get file id by calling list_parent_items or list_files endpoint (Search for file name and get id). Google API does not allow to perform create or replace in one operation. [API reference] |
Upload a file (with overwrite action) | upload_file_overwrite | Uploads a file (if file with same name exists then overwrite else create a new file). [API reference] |
Create a folder | create_folder | Creates a folder [API reference] |
Delete an item | delete_item | Deletes an item [API reference] |
Duplicate a file | copy_file | Duplicates a file [API reference] |
Replace file data (keep same file id) | update_file | Update file with new content / metadata (keep same file Id) [API reference] |
Update metadata in a file | update_metadata_file | Updates meta-data in a file [API reference] |
Empty trash | empty_trash | Empties trash [API reference] |
Delete all items | delete_all_items | Deletes all items from the drive [API reference] |
Generic Request | generic_request | This is generic endpoint. Use this endpoint when some actions are not implemented by connector. Just enter partial URL (Required), Body, Method, Header etc. Most parameters are optional except URL. |
Generic Request (Bulk Write) | generic_request_bulk_write | This is a generic endpoint for bulk write purpose. Use this endpoint when some actions are not implemented by connector. Just enter partial URL (Required), Body, Method, Header etc. Most parameters are optional except URL. |