Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(storage): add support for restore token #7775

Merged
merged 12 commits into from
Oct 31, 2024
5 changes: 5 additions & 0 deletions Storage/src/Bucket.php
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,9 @@ public function getStreamableUploader($data, array $options = [])
* from the `encryptionKey` on your behalf if not provided, but
* for best performance it is recommended to pass in a cached
* version of the already calculated SHA.
* @type boolean $softDeleted If true, returns the metadata of the
* soft-deleted object. If true, generation must also be specified,
* and alt=media cannot be specified.
* }
* @return StorageObject
*/
Expand Down Expand Up @@ -627,6 +630,8 @@ public function object($name, array $options = [])
* @param array $options [optional] {
* Configuration Options.
*
* @type string $restoreToken Must be specified when getting a soft-deleted object from
* an HNS-enabled bucket that has a name and generation conflict with another object in the same bucket.
* @type string $ifGenerationMatch Makes the operation conditional on whether
* the object's current generation matches the given value.
* @type string $ifGenerationNotMatch Makes the operation conditional on whether
Expand Down
Loading
Loading