fork-on-the-table-collective/Upload to google drive/Download from google drive/Delete from google drive/List files in Google Drive
Uploads a file or a folder to Google Drive
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| credentials | base64 encripted Google Service Account JSON credentials | yes | "" |
| actionType | Type of action. upload|download|list|delete | yes | upload |
| localPath | Local path to the file/folder to upload or to filepath to download | no | "" |
| googleFolderId | Google Drive folder ID to upload a file or list content | no | "" |
| googleFileId | Google Drive file ID to download a file or delete it | no | "" |
| zipName | Optional name for the zipped file | no | "" |
| emptyUploadFolder | Set to true if you want to delete all files from the upload folder | no | false |
| filterForDelete | If emptyUploadFolder is set to true then only those files will be deleted which contains this given sting | no | "" |
Outputs
| name | description |
|---|---|
| link | A link to the Drive folder |
| refId | Id of the uploaded file |
| refName | Name of the uploaded file |
| fileLink | A direct link to the uploaded file |
| folderFiles | List of file names and IDs from the folder |