Deletes an object from a bucket
gcs_delete_object(
object_name,
bucket = gcs_get_global_bucket(),
generation = NULL
)
Object to be deleted, or a gs://
URL
Bucket to delete object from
If present, deletes a specific version.
Default if generation
is NULL is to delete the latest version.
If successful, TRUE.
To delete all objects in a bucket see gcs_delete_bucket_objects
Other object functions:
gcs_compose_objects()
,
gcs_copy_object()
,
gcs_get_object()
,
gcs_list_objects()
,
gcs_metadata_object()