Skip to content

Commit

Permalink
feat(Storage): add support for restore token (#7775)
Browse files Browse the repository at this point in the history
  • Loading branch information
thiyaguk09 authored Oct 31, 2024
1 parent b1dcfc6 commit 4e408c3
Show file tree
Hide file tree
Showing 4 changed files with 5,461 additions and 5,389 deletions.
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

0 comments on commit 4e408c3

Please sign in to comment.