Google Drive Connector: Connects to the Google Drive cloud service and provides cloud storage data management capabilities.
Google Drive allows to have multiple objects with the same name. Currently, when executing operations that refer to multiple existing objects, an error message is issued and the operation is not executed.
Properties
|
|
Operation executed by the adapter Possible values:
|
Parameters
|
|
Path of the service account file for authentication Possible values: String with the path of the service account file. |
|
|
Folder path where the extracted file will be placed
Possible values: String with the folder path; The path specification must end with a slash |
|
|
Path of the source file This parameter is used for Possible values: string with the path to the source file |
|
|
Path to the destination folder or file This parameter is used for Possible values: String with the path to the destination file or folder; The path specification must end with a slash |
|
|
Filename - in some cases the parameter is used to set or change the filename. This parameter is used for Possible values: String with the file name |
|
|
Folder name
Possible values: String with the folder name |
|
|
Comment This parameter is used for create and read operations. Possible values: String with the comment |
|
|
Specify whether existing files are to be overwritten This parameter is used for all create, copy or update operations except for the Possible values: Boolean value |
|
|
Scope of the authorization This parameter is used for the Possible values:
|
|
|
Role of authorization This parameter is used for the Possible values:
|
|
|
Domain or email address of the user or group This parameter is used for Possible values: String with the domain or email address |
Status values
|
|
The adapter operation was executed successfully |
|
|
An error occurred while executing the adapter |
Input
The adapter is managed via parameters. However, for some operations such as ExtractArchiveToFolder, UploadFile or UpdateFile, an input can be passed that represents the content to be uploaded or updated. If no input is passed for these operations, the sourcePath parameter is used.
Output
The adapter outputs the following structure when a list operation is used:
Output for list operations
<?xml version="1.0" encoding="UTF-8"?>
<Files>
<File FullName="X4-ADK.pdf" id="1_nNnJVwCyNXrFWiGDok1GNKmdZeAcXK7"/>
<File FullName="X4-Activities.pdf" id="1soJS2I4JgG4pNxypbI9MnTKSON1iLWcI"/>
<File FullName="X4-Release-Notes.pdf" id="1C8dh8I6r2LDsPP3avdkYNIVLCGmvf54T"/>
<File FullName="X4-ESB.pdf" id="1lPatZJT2yxI1IdfzlYy8hINO56TOhCdC"/>
<File FullName="X4-BPM.pdf" id="1R5_mJ4x6_qcPZhrnaP-z_zoFd6kJJmAn"/>
<File FullName="X4-Administration-Guide.pdf" id="1di3dhqUe3bLXx8OWQqtqcBLcIeXPS4N-"/>
</Files>
The following information is output for the GetFileMetadata operation:
Output for the GetFileMetadata operation
<?xml version="1.0" encoding="UTF-8"?>
<File FullName="X4-Release-Notes-Comment.pdf" Id="18upYSTk8pkGMm8YVT46LHa9R9myYzf7I">
<Kind>drive#file</Kind>
<Parents>
<Id>0AOvK1n-M5IHmUk9PVA</Id>
</Parents>
<Permissions>
<Permission>
<Id>03478937985708787222</Id>
<Account>service-account@shaped-fx-259808.iam.gserviceaccount.com</Account>
<Scope>user</Scope>
<Role>owner</Role>
</Permission>
</Permissions>
<Created>2020-01-07T10:45:33.338</Created>
<Size>4376271</Size>
</File>