tGoogleDriveList Standard properties
These properties are used to configure tGoogleDriveList running in the Standard Job framework.
The Standard tGoogleDriveList component belongs to the Cloud family.
The component in this framework is available in all Talend products.
Basic settings
Property Type |
Select the way the connection details will be set.
This property is not available when other connection component is selected from the Connection Component drop-down list. |
Connection Component |
Select the component that opens the database connection to be reused by this component. |
Application Name |
The application name required by Google Drive to get access to its APIs. |
OAuth Method |
Select an OAuth method used to access Google Drive from the drop-down list.
For more information about how to access Google Drive using each method, see OAuth methods for accessing Google Drive. |
Client ID and Client Secret |
The client ID and client secret. These two properties are available only when Installed Application (Id & Secret) is selected from the OAuth Method drop-down list. |
Client Secret JSON |
The path to the client secret JSON file. This property is available only when Installed Application (JSON) is selected from the OAuth Method drop-down list. |
Service Account JSON |
The path to the service account JSON file. This property is available only when Service Account is selected from the OAuth Method drop-down list. |
Use Proxy |
Select this check box when you are working behind a proxy. With this check box selected, you need to specify the value for the following parameters:
|
Use SSL |
Select this check box if an SSL connection is used to access Google Drive. With this check box selected, you need to specify the value for the following parameters:
|
Folder Name |
The name or ID of the folder in which the files/folders will be listed. |
Access Method |
Select the method by which the folder is specified, either by Name or by Id. |
FileList Type |
Select the type of data you want to list.
|
Include SubDirectories |
Select this check box to list also the files/folders in the subdirectories. |
Schema and Edit schema |
A schema is a row description, and it defines the 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:
|
Advanced settings
DataStore Path |
The path to the credential file that stores the refresh token. Information noteNote: When
your client ID, client secret, or any other configuration related to the
Installed Application authentication changes, you need to delete this
credential file manually before running your Job again.
This property is available only when Installed Application (Id & Secret) or Installed Application (JSON) is selected from the OAuth Method drop-down list. |
Read Timeout |
Enter the read timeout value in seconds. An exception will occur if the timeout expires before there is data available for read. The default value is 30 and 0 means an infinite time out. This option is available if the component does not use an existing connection. |
Use query |
Select this check box to customize your searches. If you select this check box, trashed files are included by default. If you select this check box, the Include trashed files option is hidden in Advanced settings and the Include SubDirectories option is hidden in Basic settings. |
Query |
Type in a query to search for specific files and folders. For more information about the query syntax, see https://developers.google.com/drive/api/v3/search-files#query_string_examples. This property is available only when the Use query check box is selected. |
Include shared folders/files |
Select this check box to take into account files and folders that have been shared with you. |
Include trashed files |
Select this check box to also take into account files and folders that have been removed from the specified path. |
Include shared drives |
Select this check box to take into account drives that have been shared with you. It is recommended to use the by Id Access Method in Basic settings when you select this check box, as using the by Name Access Method can affect performance. |
Corpora type |
Select a type of Corpora to narrow the scope of file and folder searches:
This property is available only when the Include shared drives check box is selected. |
Page size |
Set the maximum number of files to return per page. You can set a value between 1 and 1000 included. |
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
ERROR_MESSAGE |
The error message generated by the component when an error occurs. This is an After variable and it returns a string. |
Usage
Usage rule |
This component is usually used as a start component of a Job or subJob and it always needs an output link. |