-
|
How can I delete a file in the bucket that has default_event_based_hold set to true? Is there any method available to remove the hold before deleting
|
Beta Was this translation helpful? Give feedback.
Answered by
coryan
Dec 11, 2025
Replies: 1 comment
-
|
I am a bit hazy on event holds, you may want to double check the documentation: https://docs.cloud.google.com/storage/docs/object-holds If I read that correctly, you first need to remove the hold and then remove the object. This may help: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
coryan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am a bit hazy on event holds, you may want to double check the documentation:
https://docs.cloud.google.com/storage/docs/object-holds
If I read that correctly, you first need to remove the hold and then remove the object. This may help:
google-cloud-rust/src/storage/examples/src/objects/release_event_based_hold.rs
Lines 29 to 38 in 12f34ba