Google Cloud DeleteBucket

Google Cloud DeleteBucket

Certified

Delete a GCS bucket

Deletes the specified bucket. If force is true, deletes contained objects first.

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 name

Name of the bucket to delete

Defaultfalse

Force delete

If true, deletes all objects before deleting the bucket; default false

The GCP service account to impersonate

Reference (ref) of the pluginDefaults to apply to this task.

The GCP project ID

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

The GCP scopes to be used

The GCP service account

Bucket name

Formaturi

Bucket URI