Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gcs_delete_object

Delete an object


Description

Deletes an object from a bucket

Usage

gcs_delete_object(
  object_name,
  bucket = gcs_get_global_bucket(),
  generation = NULL
)

Arguments

object_name

Object to be deleted, or a gs:// URL

bucket

Bucket to delete object from

generation

If present, deletes a specific version.

Default if generation is NULL is to delete the latest version.

Value

If successful, TRUE.

See Also


googleCloudStorageR

Interface with Google Cloud Storage API

v0.6.0
MIT + file LICENSE
Authors
Mark Edmondson [aut, cre] (<https://orcid.org/0000-0002-8434-3881>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.