- 26 Oct 2021
- 2 Minutes to read
- Print
- DarkLight
Google Drive Module
- Updated on 26 Oct 2021
- 2 Minutes to read
- Print
- DarkLight
Overview
The Google Drive module allows users to manage files and folders on a Google Drive with pre-built Flow steps.
- Installation of the Google Drive module is required. To learn how to install a module, see Installing Modules
- Google Account
- Google Drive API application
- OAuth Credentials and Token for Google Drive API application. To learn more about configuring OAuth credentials, see Establishing an OAuth Provider and Creating OAuth Tokens.
Google Drive Steps
The Google Drive steps can be found in the Toolbox panel under INTEGRATION > GOOGLE DRIVE.
Create Folder Step
The Create Folder step allows a user to create a Folder on Google Drive.
Input Parameter | Description |
---|---|
Credential | Sets the Credential Type (Token or ServiceAccount). Allows user to choose a created token or enter the email and PrivateKey of service account |
New Folder Name | Folder name |
Parent Folder Id | Id of the Folder the new folder will be under |
Delete Resource Step
The Delete Resource step allows a user to remove a resource from Google Drive.
Input Parameter | Description |
---|---|
Credential | Sets the Credential Type (Token or ServiceAccount). Allows user to choose a created token or enter the email and PrivateKey of service account |
File Or Folder Id | Id of the file or folder |
Does Resource Exist
The Does Resource Exist step will search Google Drive to determine if the specified file or folder exists.
Input Parameter | Description |
---|---|
Credential | Sets the Credential Type (Token or ServiceAccount). Allows user to choose a created token or enter the email and PrivateKey of service account |
File Or Folder Id | Id of the file or folder |
Download File
The Download File step allows a user to download a file from Google Drive to a full local file path.
Input Parameter | Description |
---|---|
Credential | Sets the Credential Type (Token or ServiceAccount). Allows user to choose a created token or enter the email and PrivateKey of service account |
File Id | Id of the file |
Local File Path | File storage location |
Get File List
The Get File List step allows a user to get a list of files from a Google Drive folder.
Input Parameter | Description |
---|---|
Credential | Sets the Credential Type (Token or ServiceAccount). Allows user to choose a created token or enter the email and PrivateKey of service account |
Parent Folder Id | Id of the Folder the new folder will be under |
Get Folder List
The Get Folder List step allows a user to get a list of folders from Google Drive.
Input Parameters | Description |
---|---|
Credential | Sets the Credential Type (Token or ServiceAccount). Allows user to choose a created token or enter the email and PrivateKey of service account |
Parent Folder Id | Id of the Folder the new folder will be under |
Get Resource Permission
The Get Resource Permission will return the permission parameters of a resource in Google Drive.
Input Parameter | Description |
---|---|
Credential | Sets the Credential Type (Token or ServiceAccount). Allows user to choose a created token or enter the email and PrivateKey of service account |
File or Folder Id | Id of the file or folder |
Set Resource Permission
The Set Resource Permission step allows a user to set the permission type and role on resources created in Google Drive.
Input Parameter | Description |
---|---|
Credential | Sets the Credential Type (Token or ServiceAccount). Allows user to choose a created token or enter the email and PrivateKey of service account |
File or Folder Id | Id of the file or folder |
Permission | Sets the permission type and role of the defined user |
Upload File
The Upload File step allows a user to upload a specified file from a local file path to a Google Drive folder.
Input Parameter | Description |
---|---|
Credential | Sets the Credential Type (Token or ServiceAccount). Allows user to choose a created token or enter the email and PrivateKey of service account |
Local File Path | File storage location |
Parent Folder Id | Id of the Folder the new folder will be under |