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

DeleteBucket DeleteBucket

yaml
type: "io.kestra.plugin.gcp.gcs.DeleteBucket"

Delete a bucket.

Examples

Delete a bucket

yaml
id: "delete_bucket"
type: "io.kestra.plugin.gcp.gcs.DeleteBucket"
name: "my-bucket"

Properties

name

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

Bucket's unique name

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.

Outputs

bucket

  • Type: string
  • Dynamic:
  • Required:

The bucket's unique name

bucketUri

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

The bucket's URI