tGSPut Standard properties - 7.3

GS

EnrichVersion
Cloud
7.3
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 Real-Time Big Data Platform
EnrichPlatform
Talend Studio
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

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

The Standard tGSPut 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.

Credential type Select the type to be used to authenticate to your project.
  • HMAC key: authenticate using Oauth credentials. When selecting this credential type, the parameters to be defined in the Basic settings view are Access Key and Secret Key.
  • Service account: authenticate using a Google account. When selecting this credential type, the parameter to be defined in the Basic settings view is Service account key.
  • OAuth Access Token: authenticate using an OAuth access token. When selecting this credential type, the parameter to be defined in the Basic settings view is OAuth Access Token.

By default, Service account is selected.

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.

Service account key Click the [...] button next to the service account key field to browse for the JSON file that contains your service account key.
OAuth Access Token Enter an access token.

The lifetime of the token is one hour. The component does not perform the token refresh operation but will fetch the new access token to operate beyond the one-hour limit.

Bucket name

Type in the name of the bucket into which you want to upload files.

Project ID When the credential type is set to OAuth Access Token, specify the project ID into which you want to upload files.

Local directory

Type in the full path of or browse to the local directory where the files to be uploaded are located.

Google Storage directory

Type in the Google Storage directory to which you want to upload files.

Use files list

Select this check box and complete the Files table.

  • Filemask: enter the filename or filemask using wildcharacters (*) or regular expressions.

  • New name: enter a new name for the file after being uploaded.

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

Part size(Mb)

Specify the part size (in MB) when uploading an object in parts. The property work as follows:
  • If the value is 0, the object is uploaded without being divided into parts.

  • If the value is bigger than 0, the object that is bigger than the part size is uploaded in parts.

  • If the value is bigger than 0, the object that is smaller is uploaded without being divided into parts.

Note: The maximum value is 2047 MB.

This option is only available when you select Service Account from the Credential type drop-down list in the Basic settings view.

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

NB_LINE: the number of rows read by an input component or transferred to an output component. This is an After variable and it returns an integer.

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 together with other components, particularly the tGSGet component.