The Google Cloud Storage Listener is used to retrieve data from Google Cloud Storage.
On the Basic configuration tab, you should specify the Polling interval for how often to scan the Google Cloud Storage. The Bucket Name configuration item is used to configure the unique name of the bucket you need to access. The Polling Directory is the directory in the storage to be polled. You can use the Include Sub-Folders check box if sub-folders should be included in the polling. Also you can enable Specify Full File Path to pick up a particular file, in this case the File Path is enabled.
The Advanced tab allows you to specify:
Initialize on trigger only: If enabled, the Listener doesn’t start up until a trigger initializes it.
Allow command-line invocation: If enabled, the listener can be invoked using the CLI client application.
Restart on listening error: If enabled, the listener will be restarted after an error occurs.
FIFO Queue Name: The FIFO field enables a “First In, First Out” queuing mechanism between Listeners and Transports. If a “FIFO Queue Name” is provided, that name will be used as a key for a queue Transactions & will be pushed into before reaching a transport. They’ll be ordered in this queue according to when the Listener created them.
FIFO Queue Delay: It is the interval between updates/checks against that queue. Providing a queue name guarantees that a given Transport sends transactions in the same order the Listener created them in.
Transaction Logging: This tab allows us to enable transaction events logging. That data can be logged by a TransactionEventListener.
The Transaction Logging Enable: This checkbox allows transaction events originating from this listener to be logged by a TransactionEventListener.
Log Transaction Data: If enabled, logs transaction data body.
Log Transaction Data Base64: If enabled, logs transaction data body as Base64.
Log Transaction Attribute: If enabled, logs transaction attributes.
Log All Attributes: If enable, no attributes will be filtered
Allowed Attributes: Attributes which are allowed to be logged
The Scheduling configuration tab allows you to specify the start times and end times for scheduled execution. In addition, you can specify days of the week or particular dates to exclude from scheduling. The Time Zone drop-down menu allows to specify the Time Zone that should be used for scheduling; by default, it is set to the Time Zone of the console during initial configuration.
The Credentials configuration tab allows you to specify JSON Key File – the path to the JSON key file for authenticating with Google Storage.
The Post-Process configuration tab allows you to specify:
Post-Process Action: the post-process action to take
Move to Bucket: the bucket in Google Cloud Storage to move the file to. If blank, the bucket the file was read from will be used.
Move to Directory: the directory in Google Cloud Storage to move the file to. If blank, it’ll be moved to the root of the bucket.