delete
Delete a file from a GCS bucket.
delete
Delete a file from a GCS bucket.
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
errorOnMissingbooleanstring
Default
falseRaise an error if the file is not found
impersonatedServiceAccountstring
The GCP service account to impersonate.
projectIdstring
The GCP project ID.
scopesarray
SubTypestring
Default
["https://www.googleapis.com/auth/cloud-platform"]The GCP scopes to be used.
serviceAccountstring
The GCP service account.
uristring
The file to delete
Outputs
deletedboolean
If the files was really deleted
uristring
Format
uriThe deleted uri