README
Google Drive
Module to connect to Google Drive and manage your files. You can work with owned or shared files and folders, move, delete, download, export and upload them.
Read this in other languages: English, Português, Español
How to install this module
To install the module in Rocketbot Studio, it can be done in two ways:
- Manual: Download the .zip file and unzip it in the modules folder. The folder name must be the same as the module and inside it must have the following files and folders: _init_.py, package.json, docs, example and libs. If you have the application open, refresh your browser to be able to use the new module.
- Automatic: When entering Rocketbot Studio on the right margin you will find the Addons section, select Install Mods, search for the desired module and press install.
Overview
-
Setup G-Suite credentials
Configure Google Drive credentials -
Login without json file
Login to Google Drive without json file -
List files in Drive
List files of Google Drive. This command returns all files by default, including trashed files. If you don't want trashed files to appear in the list, use the trashed=false as filter. -
List shared drives
List shared drives (Shared Drives) available for the current session. -
List files in shared drive
List files inside a specific Shared Drive by driveId. -
Download file
Download file from Drive -
Download folder
Download folder from Drive -
Export file
Export a file from Drive to the requested format type -
Create Folder
Create Folder -
Copy or move file
Copy or move a file -
Upload file
Upload a file to Google Drive -
Upload folder
Upload a folder to Google Drive -
Delete a file or folder
Delete a file or folder from Drive -
Share file
Share a file in Drive -
Manage folder permissions
Create, update or delete a folder permission. The types of access are user: User or Group, and general: Domain or Anyone. -
List permissions
Get list of permissions from a file -
Delete permission
Delete a permission from a file
OS
- windows
- mac
- linux
- docker
