We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The following code:
storage.writer(BlobInfo.builder("bucket", "name").generation(42L).build(), Storage.BlobTargetOption.generationMatch());
issues a POST request to the URL:
https://www.googleapis.com/upload/storage/v1/b/bucket/o?uploadType=resumable&name=name&ifGenerationNotMatch=42
where ifGenerationNotMatch instead of ifGenerationMatch is set.
ifGenerationNotMatch
ifGenerationMatch
The following code:
issues a POST request to the URL:
where
ifGenerationNotMatchinstead ofifGenerationMatchis set.