August 17, 2023

tGSBucketList – Docs for ESB 5.x

tGSBucketList

tgsbucketlist_icon32_white.png

Warning

This component will be available in the Palette of the studio on the condition that you have subscribed to
one of the Talend solutions with Big
Data.

tGSBucketList properties

Component Family

Big Data / Google Cloud Storage

 

Function

tGSBucketList iterates on all
buckets within all projects or one specific project in Google Cloud
Storage.

Purpose

tGSBucketList allows you to
retrieve a list of buckets from all projects or one specific project
in Google Cloud Storage.

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.

Warning

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

 

Specify project ID

Select this check box and in the Project
ID
field specify a project ID from which you want to
retrieve a list of buckets.

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

CURRENT_BUCKET_NAME: the current bucket name. This is a
Flow variable and it returns a string.

NB_BUCKET: the number of buckets. 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

The tGSBucketList component can
be used as a standalone component or as a start component of a
process.

Log4j

The activity of this component can be logged using the log4j feature. For more information on this feature, see Talend Studio User
Guide
.

For more information on the log4j logging levels, see the Apache documentation at http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html.

Limitation

n/a


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