Delete an object

Description

Deletes an object from a bucket

Usage

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

Arguments

object_name

Object to be deleted

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

Other object functions: gcs_get_object, gcs_list_objects, gcs_metadata_object

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