🚀 New! Kestra raises $3 million to grow Learn more

Delete 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
  • Dynamic:
  • Required:

If the files was really deleted

uri

  • Type: string
  • Dynamic:
  • Required:
  • Format: uri

The deleted uri