List file on a GCS bucket.
yaml
type: "io.kestra.plugin.gcp.gcs.List"
List files in a bucket
yaml
id: gcp_gcs_list
namespace: company.team
tasks:
- id: list
type: io.kestra.plugin.gcp.gcs.List
from: "gs://my_bucket/dir/"
Dynamic YES
The directory to list
Dynamic YES
Dynamic YES
Default BOTH
Possible Values
FILESDIRECTORYBOTH
The filter files or directory
Dynamic YES
The GCP service account to impersonate.
Dynamic YES
Default DIRECTORY
Possible Values
RECURSIVEDIRECTORY
The listing type you want (like directory or recursive)
if DIRECTORY, will only list objects in the specified directory
if RECURSIVE, will list objects in the specified directory recursively
Default value is DIRECTORY
When using RECURSIVE value, be careful to move your files to a location not in the from
scope
Dynamic YES
The GCP project ID.
Dynamic YES
A regexp to filter on full path
ex:
regExp: .*
to match all files
regExp: .*2020-01-0.\\.csv
to match files between 01 and 09 of january ending with .csv
SubType string
Dynamic YES
Default ["https://www.googleapis.com/auth/cloud-platform"]
The GCP scopes to be used.
Dynamic YES
The GCP service account.
Dynamic NO
Dynamic NO
Dynamic NO
Dynamic NO
Dynamic NO
Dynamic NO
Dynamic NO
Dynamic NO
Dynamic NO
Format date-time
Dynamic NO
Format date-time
Dynamic NO
Format date-time
Dynamic NO
Dynamic NO
Dynamic NO
Dynamic NO
Dynamic NO
Dynamic NO
Dynamic NO
Dynamic NO
SubType string
Dynamic NO
Dynamic NO
Dynamic NO
Dynamic NO
Dynamic NO
Dynamic NO
Dynamic NO
Format date-time
Dynamic NO
Format date-time
Dynamic NO
Format uri