DeleteBucket DeleteBucket

type: "io.kestra.plugin.gcp.gcs.DeleteBucket"

Delete a bucket.

# Examples

Delete a bucket

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

# Properties

# name

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

Bucket's unique name

# projectId

  • Type: string
  • Dynamic: ✔️
  • Required:

The GCP project id

# scopes

  • Type: array
  • SubType: string
  • Dynamic: ✔️
  • Required:
  • Default: [https://www.googleapis.com/auth/cloud-platform]

The GCP scopes to used

# serviceAccount

  • Type: string
  • Dynamic: ✔️
  • Required:

The GCP service account key

# Outputs

# bucket

  • Type: string

The bucket's unique name

# bucketUri

  • Type: string

The bucket's URI