Both sides previous revisionPrevious revisionNext revision | Previous revision |
transformations:googledrivecommand [2021/07/04 21:49] – craigt | transformations:googledrivecommand [2023/10/11 20:34] (current) – [See also] craigt |
---|
\\ | \\ |
=====Description===== | =====Description===== |
This action performs file operations with Google Drive. A configured [[connectors:airtable|Google Drive connector]] is required. | This action performs file and folder operations with Google Drive. A configured [[connectors:googledrive|Google Drive connector]] is required. |
| |
\\ | \\ |
=====Action settings===== | =====Action settings===== |
^ Setting ^ Description ^ | ^ Setting ^ Description ^ |
|Connector<sup>*</sup>|Select the preconfigured Google Drive connector, or, build one by selecting //Add connector//.\\ See [[connectors:airtable|Google Drive connector]] for details.| | |Connector<sup>*</sup>|Select the preconfigured Google Drive connector, or, build one by selecting //Add connector//.\\ See [[connectors:googledrive|Google Drive connector]] for details.| |
|Command|Select the file operation this action will perform. Options: //List files//, //Download file//, //Download list of files//, //Upload file//, //Upload list of files//, //Delete file//, or //Delete list of files//. See below for details of each command type.| | |Command|Select the file operation this action will perform. Options: //List files//, //Download file//, //Download list of files//, //Upload file//, //Upload list of files//, //Delete file//, or //Delete list of files//. See below for details of each command type.| |
<sup>*</sup> Setting can be specified using a [[:parameters|parameter]]. | <sup>*</sup> Setting can be specified using a [[:parameters|parameter]]. |
\\ | \\ |
====List files settings==== | ====List files settings==== |
**Description:** Produce a list of files, with selected details, in a specified folder on Google Drive. | **Description:** Produce a list of files, with selected file properties, in a specified folder on Google Drive. |
^ Setting ^ Description ^ | ^ Setting ^ Description ^ |
|Folder<sup>*</sup>|Select a subfolder (under the "My Drive" folder) to access. By default, this action will access the "My Drive" root folder (no value appears in the Folder field).| | |Folder<sup>*</sup>|Select a subfolder (under the "My Drive" folder) to access. By default, this action will access the "My Drive" root folder (no value appears in the Folder field).| |
^ Setting ^ Description ^ | ^ Setting ^ Description ^ |
|File list|Select the table column containing the list of fully qualified file names to be downloaded.| | |File list|Select the table column containing the list of fully qualified file names to be downloaded.| |
|Local folder<sup>*</sup>|Enter or browse to the local folder to download the files to. This action will //overwrite// files with the same name(s)\\ that already exist(s) in the destination folder.| | |Local folder<sup>*</sup>|Enter or browse to the local folder to download the files to. This action will //overwrite// files with the same names\\ that already exist in the destination folder.| |
<sup>*</sup> Setting can be specified using a [[:parameters|parameter]]. | <sup>*</sup> Setting can be specified using a [[:parameters|parameter]]. |
| |
^ Setting ^ Description ^ | ^ Setting ^ Description ^ |
|File list|Select the table column containing the list of fully qualified local file names to be uploaded.| | |File list|Select the table column containing the list of fully qualified local file names to be uploaded.| |
|Target folder<sup>*</sup>|Enter or browse to a Google Drive folder to upload the files to. This action will //overwrite// files with the same name(s)\\ that already exist(s) in the destination folder.| | |Target folder<sup>*</sup>|Enter or browse to a Google Drive folder to upload the files to. This action will //overwrite// files with the same names\\ that already exist in the destination folder.| |
<sup>*</sup> Setting can be specified using a [[:parameters|parameter]]. | <sup>*</sup> Setting can be specified using a [[:parameters|parameter]]. |
| |
| |
\\ | \\ |
====File already exists options==== | ====List folders settings==== |
^Option ^Description ^ | **Description:** Produce a list of subfolders under the selected folder. |
|Overwrite|The new file replaces the original file.| | ^ Setting ^ Description ^ |
|Do nothing|No file is downloaded/uploaded, the workflow does not halt, and no error is displayed.| | |Folder<sup>*</sup>|Select a folder on the remote resource to retrieve a list of subfolders from.| |
|Halt project execution|The project will stop processing and this action will display an error.| | |Columns|Select the details of the found subfolders to be included in the dataset. Each detail produces a column.\\ Options: //Folder name with full path// and //Folder name only//.| |
| <sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\ |
| |
| \\ |
| ====Create folder settings==== |
| **Description:** Create a new Google Drive folder under the selected parent folder. |
| ^ Setting ^ Description ^ |
| |Parent folder<sup>*</sup>|Select a folder on Google Drive to create the new folder under.| |
| |Folder name<sup>*</sup>|Enter the name of the new folder.| |
| |If a folder with such name already exists|Choose how EasyMorph behaves if a folder with the //Folder name// already exists. Options: //Fail// (the workflow stops with a warning) or //Do nothing// (the workflow continues without creating the new folder).| |
| <sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\ |
| |
| \\ |
| ====Rename folder settings==== |
| **Description:** Rename the selected Google Drive folder. |
| ^ Setting ^ Description ^ |
| |Folder<sup>*</sup>|Select the folder on Google Drive to rename.| |
| |New name<sup>*</sup>|Enter the new name for the selected folder.| |
| <sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\ |
| |
| \\ |
| ====Delete folder settings==== |
| **Description:** Delete the selected Google Drive folder. |
| ^ Setting ^ Description ^ |
| |Folder path<sup>*</sup>|Select the folder on Google Drive to delete.| |
| |If the folder doesn't exist|Choose how EasyMorph behaves if the selected folder does not exist. Options: //Do nothing// (the workflow continues without creating the new folder) or //Fail// (the workflow stops with a warning).| |
| <sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\ |
| |
\\ | \\ |
* [[transformations:importgooglesheets|Import Google Sheets]] | * [[transformations:importgooglesheets|Import Google Sheets]] |
* [[transformations:exportgooglesheets|Export Google Sheets]] | * [[transformations:exportgooglesheets|Export Google Sheets]] |
| * [[transformations:amazoncommand|Amazon S3 command]] |
| * [[transformations:azureblobstoragecommand|Azure Blob Storage command]] |
| * [[transformations:dropboxcommand|Dropbox command]] |
| * [[transformations:onedrivecommand|OneDrive command]] |
| * [[transformations:sharepointcommand|SharePoint command]] |
| |