Google Cloud List

Google Cloud List

Certified

List GCS objects

Lists blobs under a gs:// prefix with optional regex filtering and directory/file selection.

yaml
type: io.kestra.plugin.gcp.gcs.List

List files in a GCS bucket

yaml
id: gcp_gcs_list
namespace: company.team

tasks:
  - id: list
    type: io.kestra.plugin.gcp.gcs.List
    from: "gs://my_bucket/dir/"
Properties

Source prefix

gs:// path to list

Include all versions

If true, includes object versions; default false

DefaultBOTH
Possible Values
FILESDIRECTORYBOTH

Listing filter

Choose FILES, DIRECTORY, or BOTH; defaults to BOTH

The GCP service account to impersonate

DefaultDIRECTORY
Possible Values
RECURSIVEDIRECTORY

Listing type

DIRECTORY lists only immediate children; RECURSIVE traverses all descendants. Default DIRECTORY.

Default25

Max files

The maximum number of files to retrieve at once. Defaults to 25.

Reference (ref) of the pluginDefaults to apply to this task.

The GCP project ID

Regex filter

Optional regex applied to full object path (e.g., .*2020-01-0.\.csv)

SubTypestring
Default["https://www.googleapis.com/auth/cloud-platform"]

The GCP scopes to be used

The GCP service account

Blobs

Definitions
bucketstring
cacheControlstring
componentCountinteger
contentDispositionstring
contentEncodingstring
contentLanguagestring
contentTypestring
crc32cstring
createTimestring
Formatdate-time
customTimestring
Formatdate-time
deleteTimestring
Formatdate-time
etagstring
eventBasedHoldboolean
generatedIdstring
isDirectoryboolean
kmsKeyNamestring
md5string
mediaLinkstring
metaGenerationinteger
metadataobject
SubTypestring
namestring
retentionExpirationTimeinteger
selfLinkstring
sizeinteger
temporaryHoldboolean
timeStorageClassUpdatedstring
Formatdate-time
updateTimestring
Formatdate-time
uristring
Formaturi
Unitfiles

Number of blobs listed.