Use the gsutil rm command:
gsutil rm gs://[BUCKET_NAME]/[OBJECT_NAME]
Where:
-
[BUCKET_NAME] is the name of the bucket containing the object you want to delete. For example, my-bucket.
-
[OBJECT_NAME] is the name of the object you want to delete. For example, pets/dog.png.
If successful, the response looks like the following example:
Operation completed over 1 objects.
Hope this helps!!
If you need to know more about Google Cloud, It's recommended to go for Google Cloud architect certification course.
Thanks!