-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
enhancementNew feature or requestNew feature or request
Description
TL;DR
Why?
Add support for passing request precondition arguments to storage client in order to be able to perform safe read-modify-write updates and conditional operations.
How
The storage already supports precondition options, example:
https://github.com/googleapis/nodejs-storage/blob/77070b565bf3a347902d38ed46206b86fbf4ffe8/samples/copyFile.js#L62-L66
It could be a new inputs of type number called:
preconditionOptionsIfGenerationMatchpreconditionOptionsIfGenerationNotMatchpreconditionOptionsIfMetagenerationMatchpreconditionOptionsIfMetagenerationNotMatch
Detailed design
No response
Additional information
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request