dart-lang/labs

Preconditions for deletion / writing in GCS

jonasfj opened this issue · 0 comments

See:
https://cloud.google.com/storage/docs/request-preconditions

I think ifGenerationMatch and ifMetagenerationMatch would be extremely useful for optimistic concurrency.

Given that these can probably just be optional parameters, there is no reason this change should be breaking (unless someone is reimplementing the API package:gcloud offers).