ObjectsRestoreOptions
import type { ObjectsRestoreOptions } from "https://googleapis.deno.dev/v1/storage:v1.ts";
Additional options for Storage#objectsRestore.
§Properties
If true, copies the source object's ACL; otherwise, uses the bucket's default object ACL. The default is false.
Makes the operation conditional on whether the object's one live generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object.
Makes the operation conditional on whether none of the object's live generations match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.
Makes the operation conditional on whether the object's one live metageneration matches the given value.
Makes the operation conditional on whether none of the object's live metagenerations match the given value.
Restore token used to differentiate sof-deleted objects with the same name and generation. Only applicable for hierarchical namespace buckets. This parameter is optional, and is only required in the rare case when there are multiple soft-deleted objects with the same name and generation.