Delete a GCS bucket.
yaml
type: "io.kestra.plugin.gcp.gcs.deletebucket"Examples
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
name *Requiredstring
Bucket's unique name
force booleanstring
Default
falseIf set to true, any blobs in the bucket will be deleted prior to bucket deletion. The default is false
impersonatedServiceAccount string
The GCP service account to impersonate.
projectId string
The GCP project ID.
scopes array
SubType string
Default
["https://www.googleapis.com/auth/cloud-platform"]The GCP scopes to be used.
serviceAccount string
The GCP service account.
Outputs
bucket string
The bucket's unique name
bucketUri string
Format
uriThe bucket's URI