Delete a GCS bucket.

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

Delete a bucket

yaml
id: gcp_gcs_delete_bucket
namespace: company.team

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

Bucket's unique name

Default false

If set to true, any blobs in the bucket will be deleted prior to bucket deletion. The default is false

The GCP service account to impersonate.

The GCP project ID.

SubType string
Default ["https://www.googleapis.com/auth/cloud-platform"]

The GCP scopes to be used.

The GCP service account.

The bucket's unique name

Format uri

The bucket's URI