Delete a file from a GCS bucket.

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
Default false

Raise an error if the file is not found

The GCP service account to impersonate.

The GCP project ID.

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

The GCP scopes to be used.

The GCP service account.

The file to delete

If the files was really deleted

Format uri

The deleted uri