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

FilesDownloadOptions

import type { FilesDownloadOptions } from "https://googleapis.deno.dev/v1/drive:v3.ts";

Additional options for Drive#filesDownload.

interface FilesDownloadOptions {
mimeType?: string;
revisionId?: string;
}

§Properties

§
mimeType?: string
[src]

Optional. The MIME type the file should be downloaded as. This field can only be set when downloading Google Workspace documents. See Export MIME types for Google Workspace documents for the list of supported MIME types. If not set, a Google Workspace document is downloaded with a default MIME type. The default MIME type might change in the future.

§
revisionId?: string
[src]

Optional. The revision ID of the file to download. This field can only be set when downloading blob files, Google Docs, and Google Sheets. Returns INVALID_ARGUMENT if downloading a specific revision on the file is unsupported.