Delete
yaml
type: "io.kestra.plugin.gcp.gcs.Delete"
Delete a file to a GCS bucket.
Examples
yaml
id: "delete"
type: "io.kestra.plugin.gcp.gcs.Delete"
uri: "gs://my_bucket/dir/file.csv"
Properties
errorOnMissing
- Type: boolean
- Dynamic: ❌
- Required: ❌
- Default:
false
raise an error if the file is not found
projectId
- Type: string
- Dynamic: ✔️
- Required: ❌
The GCP project id
scopes
- Type: array
- SubType: string
- Dynamic: ✔️
- Required: ❌
- Default:
[https://www.googleapis.com/auth/cloud-platform]
The GCP scopes to used
serviceAccount
- Type: string
- Dynamic: ✔️
- Required: ❌
The GCP service account key
uri
- Type: string
- Dynamic: ✔️
- Required: ❌
The file to delete
Outputs
deleted
- Type: boolean
If the files was really deleted
uri
- Type: string
The deleted uri