Google Cloud Delete

Google Cloud Delete

Certified

Delete a GCS object

Deletes the specified gs:// object. Can error if missing when errorOnMissing is true.

yaml
type: io.kestra.plugin.gcp.gcs.Delete
yaml
id: gcp_gcs_delete
namespace: company.team

tasks:
  - id: delete
    type: io.kestra.plugin.gcp.gcs.Delete
    uri: "gs://my_bucket/dir/file.csv"
Properties
Defaultfalse

Error on missing

If true, throw when the object is not found; default false

The GCP service account to impersonate

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

The GCP project ID

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

The GCP scopes to be used

The GCP service account

Object URI

gs:// path to delete

Deleted

True if the object was removed

Formaturi

Deleted URI