
Google Cloud DeleteBucket
CertifiedDelete a GCS bucket
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.DeleteBucketExamples
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 name
Name of the bucket to delete
force booleanstring
Default
falseForce delete
If true, deletes all objects before deleting the bucket; default false
impersonatedServiceAccount string
The GCP service account to impersonate
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
projectId string
The GCP project ID
scopes array
SubTypestring
Default
["https://www.googleapis.com/auth/cloud-platform"]The GCP scopes to be used
serviceAccount string
The GCP service account
Outputs
bucket string
Bucket name
bucketUri string
Format
uriBucket URI