tGSCopy Standard properties - 7.0

GS

author
Talend Documentation Team
EnrichVersion
7.0
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Cloud storages > GS components
Data Quality and Preparation > Third-party systems > Cloud storages > GS components
Design and Development > Third-party systems > Cloud storages > GS components
EnrichPlatform
Talend Studio

These properties are used to configure tGSCopy running in the Standard Job framework.

The Standard tGSCopy component belongs to the Big Data and the Cloud families.

The component in this framework is available in all Talend products.

Basic settings

Use an existing connection

Select this check box and in the Component List click the relevant connection component to reuse the connection details you already defined.

Access Key and Secret Key

Type in the authentication information obtained from Google for making requests to Google Cloud Storage.

These keys can be consulted on the Interoperable Access tab view under the Google Cloud Storage tab of the project from the Google APIs Console.

To enter the secret key, click the [...] button next to the secret key field, and then in the pop-up dialog box enter the password between double quotes and click OK to save the settings.

For more information about the access key and secret key, go to https://developers.google.com/storage/docs/reference/v1/getting-startedv1?hl=en/ and see the description about developer keys.

The Access Key and Secret Key fields will be available only if you do not select the Use an existing connection check box.

Source bucket name

Specify the name of the bucket from which you want to copy or move objects.

Source object key

Specify the key of the object to be copied.

Source is folder

Select this check box if the source object is a folder.

Target bucket name

Specify the name of the bucket to which you want to copy or move objects.

Target folder

Specify the target folder to which the objects will be copied or moved.

Action

Select the action that you want to perform on objects from the list.

  • Copy: copies objects from the source bucket or folder to the target bucket or folder.

  • Move: moves objects from the source bucket or folder to the target bucket or folder.

Rename

Select this check box and in the New name field enter a new name for the object to be copied or moved.

The Rename check box will not be available if you select the Source is folder check box.

Die on error

This check box is cleared by default, meaning to skip the row on error and to complete the process for error-free rows.

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

Global Variables

SOURCE_BUCKET: the source bucket name. This is an After variable and it returns a string.

SOURCE_OBJECTKEY: the key of a source object. This is an After variable and it returns a string.

DESTINATION_BUCKETNAME: the destination bucket name. This is an After variable and it returns a string.

DESTINATION_FOLDER: the destination 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

Usage rule

This component can be used as a standalone component.