Delete a file from a GCS bucket.
yaml
type: "io.kestra.plugin.gcp.gcs.Delete"
Examples
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
errorOnMissing booleanstring
Default
false
Raise an error if the file is not found
impersonatedServiceAccount string
The GCP service account to impersonate.
projectId string
The GCP project ID.
scopes array
SubType string
Default
["https://www.googleapis.com/auth/cloud-platform"]
The GCP scopes to be used.
serviceAccount string
The GCP service account.
uri string
The file to delete
Outputs
deleted boolean
If the files was really deleted
uri string
Format
uri
The deleted uri