Delete a bucket

Share:

Description

Delete the bucket, and all its objects

Usage

1
2
gcs_delete_bucket(bucket, ifMetagenerationMatch = NULL,
  ifMetagenerationNotMatch = NULL)

Arguments

bucket

Name of the bucket, or a bucket object

ifMetagenerationMatch

Delete only if metageneration matches

ifMetagenerationNotMatch

Delete only if metageneration does not match

See Also

Other bucket functions: gcs_create_bucket, gcs_create_lifecycle, gcs_get_bucket, gcs_get_global_bucket, gcs_global_bucket, gcs_list_buckets

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.