Google Cloud DeleteList

Google Cloud DeleteList

Certified

Delete multiple GCS objects

Lists objects under a prefix (optional regex) and deletes them in parallel. Can error if no objects match.

yaml
type: io.kestra.plugin.gcp.gcs.DeleteList
yaml
id: gcp_gcs_delete_list
namespace: company.team

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

Source prefix

gs:// path to list

Include all versions

If true, includes object versions; default false

Minimum>= 2

Concurrent deletions

Number of parallel delete workers; optional

Defaultfalse

Error when empty

If true, throws when no objects were deleted; default false

The GCP service account to impersonate

DefaultDIRECTORY
Possible Values
RECURSIVEDIRECTORY

Listing type

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

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

Default0

Deleted count

Default0

Deleted size bytes

Unitfiles

Number of blobs deleted.

Unitbytes

Total size of blobs deleted.