August 17, 2023

tGoogleDriveCopy – Docs for ESB 5.x

tGoogleDriveCopy

tgoogledrivecopy_icon32.png

tGoogleDriveCopy properties

Component family

Cloud / Google Drive

 

Function

This component copies or moves a specified file/folder in Google Drive.

Purpose

This component allows you to copy or move a file/folder in Google Drive.

Basic settings

Use Existing Connection

Select this check box and from the list that appears select the relevant connection
component to reuse the connection details you have already defined.

 

Application Name

Enter the application name required by Google Drive to get access to its APIs.

 

Access Token

Enter the access token required by Google Drive to access a Google Drive account and operate
it. For how to get the access token, see Obtaining an access token for Google Drive.

 

Use HTTP Proxy

Select this check box if you are working behind an HTTP proxy.

 

Proxy Host

Enter the IP address of the HTTP proxy server.

This field is available only when the Use
HTTP Proxy
check box is selected.

 

Proxy Port

Enter the port number of the HTTP proxy server.

This field is available only when the Use
HTTP Proxy
check box is selected.

 

Use SSL

Select this check box if an SSL connection is used to access Google Drive.

 

Algorithm

Enter the name of the SSL cryptography algorithm.

This field is available only when the Use
SSL
check box is selected.

 

TrustStore File

Browse to or enter the path to the certificate TrustStore file that contains the list of
certificates the client trusts.

This field is available only when the Use
SSL
check box is selected.

 

Password

Enter the password used to check the integrity of the TrustStore data.

This field is available only when the Use
SSL
check box is selected.

 

File

Select this option button when you need to copy or move a file.

 

Folder

Select this option button when you need to move a folder.

 

File Name

Enter the name of the source file to be copied or moved.

This field appears only when the File option button is selected.

 

Source Folder Name

Enter the name of the source folder to be moved.

This field appears only when the Folder option button is selected.

 

Destination Folder Name

Enter the name of the destination folder to which the specified source file/folder will
be copied or moved.

 

Rename (set new title)

Select this check box to rename the file/folder copied or moved to the destination
folder.

 

Destination Name

Enter the name for the file/folder after being copied or moved to the destination
folder.

This field appears only when the Rename (set
new title)
check box is selected.

 

Remove Source File

Select this check box to remove the source file after it is copied
to the destination folder.

This field appears only when the File option button is selected.

 

Schema and Edit schema

A schema is a row description. It defines the number of fields to
be processed and passed on to the next component.

The schema of this component is read-only. You can click the […] button next to Edit
schema
to view the predefined schema which contains
the following fields:

  • sourceFileID: the ID of the source
    file/folder.

  • destinationFileID: the ID of the destination
    file/folder.

Advanced settings

tStatCatcher Statistics

Select this check box to gather the Job processing metadata at the Job level as well as
at each component level.

Global Variables

SOURCE_FILEID: the ID of the source file/folder. This is
an After variable and it returns a string.

DESTINATION_FILEID: the ID of the destination
file/folder. This is an After variable and it returns a string.

ERROR_MESSAGE: the error message generated by the
component when an error occurs. This is an After variable and it returns a string. This
variable functions only if the Die on error check box is
cleared, if the component has this check box.

A Flow variable functions during the execution of a component while an After variable
functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl +
Space
to access the variable list and choose the variable to use from it.

For further information about variables, see Talend Studio
User Guide.

Usage

This component is usually used as a start component of a Job or Subjob and it needs an
output link.

Limitation

n/a

Related scenario

For a related scenario, see Managing files with Google Drive.


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x