Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ObjectsRestoreOptions

import type { ObjectsRestoreOptions } from "https://googleapis.deno.dev/v1/storage:v1.ts";

Additional options for Storage#objectsRestore.

interface ObjectsRestoreOptions {
copySourceAcl?: boolean;
generation: bigint;
ifGenerationMatch?: bigint;
ifGenerationNotMatch?: bigint;
ifMetagenerationMatch?: bigint;
ifMetagenerationNotMatch?: bigint;
projection?: "full" | "noAcl";
restoreToken?: string;
userProject?: string;
}

§Properties

§
copySourceAcl?: boolean
[src]

If true, copies the source object's ACL; otherwise, uses the bucket's default object ACL. The default is false.

§
generation: bigint
[src]

Selects a specific revision of this object.

§
ifGenerationMatch?: bigint
[src]

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.

§
ifGenerationNotMatch?: bigint
[src]

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.

§
ifMetagenerationMatch?: bigint
[src]

Makes the operation conditional on whether the object's one live metageneration matches the given value.

§
ifMetagenerationNotMatch?: bigint
[src]

Makes the operation conditional on whether none of the object's live metagenerations match the given value.

§
projection?: "full" | "noAcl"
[src]

Set of properties to return. Defaults to full.

§
restoreToken?: string
[src]

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.

§
userProject?: string
[src]

The project to be billed for this request. Required for Requester Pays buckets.