
Google Cloud Delete
CertifiedDelete a GCS object
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.DeleteExamples
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
falseError on missing
If true, throw when the object is not found; default false
impersonatedServiceAccount string
The GCP service account to impersonate
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
projectId string
The GCP project ID
scopes array
SubTypestring
Default
["https://www.googleapis.com/auth/cloud-platform"]The GCP scopes to be used
serviceAccount string
The GCP service account
uri string
Object URI
gs:// path to delete
Outputs
deleted boolean
Deleted
True if the object was removed
uri string
Format
uriDeleted URI