August 17, 2023

tGoogleDriveList – Docs for ESB 5.x

tGoogleDriveList

tgoogledrivelist_icon32.png

tGoogleDriveList properties

Component family

Cloud / Google Drive

 

Function

This component iterates on a specified folder in Google Drive.

Purpose

This component allows you to list files and/or sub-folders in a specified 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.

 

Folder Name

Enter the name of the folder to be iterated on.

 

FileList Type

Select the type of data you want to list.

  • Files: only files in the specified folder.

  • Directories: only subfolders in the specified
    folder.

  • Both: both files and subfolders in the specified
    folder.

 

Includes subdirectories

Select this check box to iterate also on the subdirectories.

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

ID: the ID of the file/folder being processed. This is a
Flow variable and it returns a string.

TITLE: the title of the file/folder being processed. This
is a Flow variable and it returns a string.

MIME_TYPE: the MIME type of the file/folder being
processed. This is a Flow variable and it returns a string. For more information about the
supported MIME types in Google Drive, see Supported MIME
Types
.

LAST_MODIFIED: the last modification date of the
file/folder being processed. This is a Flow variable and it returns a string.

SIZE: the file size in bytes. This is a Flow variable and
it returns a long for a file being processed and null for a folder being processed.

SELF_LINK: the link back to the file/folder being
processed. This is a Flow variable and it returns a string.

PARENTS: the properties of the parent folder of the
file/folder being processed. This is a Flow variable and it returns a list.

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 can be used as a standalone component or as a start component of a Job
or Subjob.

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