
DeleteBucket
Delete a GCS bucket.
DeleteBucket
Delete a GCS bucket.
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
forcebooleanstring
Default
falseIf set to true, any blobs in the bucket will be deleted prior to bucket deletion. The default is false
impersonatedServiceAccountstring
The GCP service account to impersonate.
projectIdstring
The GCP project ID.
scopesarray
SubTypestring
Default
["https://www.googleapis.com/auth/cloud-platform"]The GCP scopes to be used.
serviceAccountstring
The GCP service account.
Outputs
bucketstring
The bucket's unique name
bucketUristring
Format
uriThe bucket's URI