DeleteBucket DeleteBucket

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

Delete a bucket.

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

  • 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 be used.

serviceAccount

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

The GCP service account key.

Outputs

bucket

  • Type: string
  • Required:

The bucket's unique name

bucketUri

  • Type: string
  • Required:
  • Format: uri

The bucket's URI

Definitions

Was this page helpful?