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

BulkRestoreObjectsRequest

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

A bulk restore objects request.

interface BulkRestoreObjectsRequest {
allowOverwrite?: boolean;
copySourceAcl?: boolean;
matchGlobs?: string[];
softDeletedAfterTime?: Date;
softDeletedBeforeTime?: Date;
}

§Properties

§
allowOverwrite?: boolean
[src]

If false (default), the restore will not overwrite live objects with the same name at the destination. This means some deleted objects may be skipped. If true, live objects will be overwritten resulting in a noncurrent object (if versioning is enabled). If versioning is not enabled, overwriting the object will result in a soft-deleted object. In either case, if a noncurrent object already exists with the same name, a live version can be written without issue.

§
copySourceAcl?: boolean
[src]

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

§
matchGlobs?: string[]
[src]

Restores only the objects matching any of the specified glob(s). If this parameter is not specified, all objects will be restored within the specified time range.

§
softDeletedAfterTime?: Date
[src]

Restores only the objects that were soft-deleted after this time.

§
softDeletedBeforeTime?: Date
[src]

Restores only the objects that were soft-deleted before this time.