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

impersonatedServiceAccount

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

The GCP service account to impersonate.

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.

Outputs

bucket

  • Type: string
  • Required:

The bucket's unique name

bucketUri

  • Type: string
  • Required:
  • Format: uri

The bucket's URI

Was this page helpful?