Deletes an object from a bucket

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