Skip to content

Conversation

@tritone
Copy link
Contributor

@tritone tritone commented Jun 18, 2024

Currently setting an empty soft delete policy to disable the feature does not work on bucket creation (only update). This fixes the issue by forcing the library to send a zero value in this case (sending a null does not seem to work).

Also adds this case to the relevant integration test.

Fixes #10380

Currently setting an empty soft delete policy to disable the
feature does not work on bucket creation (only update). This fixes
the issue by forcing the library to send a zero value in this
case (sending a null does not seem to work).

Also adds this case to the relevant integration test.

Fixes googleapis#10380
@tritone tritone requested review from a team as code owners June 18, 2024 23:57
@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label Jun 18, 2024
@tritone tritone added the automerge Merge the pull request once unit tests and other checks pass. label Jun 19, 2024
@gcf-merge-on-green gcf-merge-on-green bot merged commit d8bd2c1 into googleapis:main Jun 19, 2024
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the Cloud Storage API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

storage: SoftDeletePolicy is not getting disabled on bucket creation

2 participants