upload-file-to-google-drive

Exports a file to an existing folder in Google Drive. The folder should be shared to with data-flo@data-flo.iam.gserviceaccount.com and given can edit permission.

Arguments

Inputs:

file: The file to be uploaded.

file url: The URL of an existing file on Google Drive to be updated. Leave empty to create a new file.

folder: The URL of the folder on Google Drive. Leave empty if updating an existing file, since the file URL precludes the need for a folder URL.

name: The name of the file.

Output:

url: The Google Drive URL of the created file.

id: The ID of the created file.

Last updated