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

FileUploadQuestion

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

A file upload question. The API currently does not support creating file upload questions.

interface FileUploadQuestion {
folderId?: string;
maxFiles?: number;
maxFileSize?: bigint;
types?:
| "FILE_TYPE_UNSPECIFIED"
| "ANY"
| "DOCUMENT"
| "PRESENTATION"
| "SPREADSHEET"
| "DRAWING"
| "PDF"
| "IMAGE"
| "VIDEO"
| "AUDIO"[];
}

§Properties

§
folderId?: string
[src]

Required. The ID of the Drive folder where uploaded files are stored.

§
maxFiles?: number
[src]

Maximum number of files that can be uploaded for this question in a single response.

§
maxFileSize?: bigint
[src]

Maximum number of bytes allowed for any single file uploaded to this question.

§
types?: "FILE_TYPE_UNSPECIFIED" | "ANY" | "DOCUMENT" | "PRESENTATION" | "SPREADSHEET" | "DRAWING" | "PDF" | "IMAGE" | "VIDEO" | "AUDIO"[]
[src]

File types accepted by this question.