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

RewriteResponse

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

A rewrite response.

interface RewriteResponse {
done?: boolean;
kind?: string;
objectSize?: bigint;
resource?: Object;
rewriteToken?: string;
totalBytesRewritten?: bigint;
}

§Properties

§
done?: boolean
[src]

true if the copy is finished; otherwise, false if the copy is in progress. This property is always present in the response.

§
kind?: string
[src]

The kind of item this is.

§
objectSize?: bigint
[src]

The total size of the object being copied in bytes. This property is always present in the response.

§
resource?: Object
[src]

A resource containing the metadata for the copied-to object. This property is present in the response only when copying completes.

§
rewriteToken?: string
[src]

A token to use in subsequent requests to continue copying data. This token is present in the response only when there is more data to copy.

§
totalBytesRewritten?: bigint
[src]

The total bytes written so far, which can be used to provide a waiting user with a progress indicator. This property is always present in the response.