Delete the bucket, and all its objects

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