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

DownloadRestriction

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

A restriction for copy and download of the file.

interface DownloadRestriction {
restrictedForReaders?: boolean;
restrictedForWriters?: boolean;
}

§Properties

§
restrictedForReaders?: boolean
[src]

Whether download and copy is restricted for readers.

§
restrictedForWriters?: boolean
[src]

Whether download and copy is restricted for writers. If true, download is also restricted for readers.