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

Question

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

Any question. The specific type of question is known by its kind.

interface Question {
choiceQuestion?: ChoiceQuestion;
dateQuestion?: DateQuestion;
fileUploadQuestion?: FileUploadQuestion;
grading?: Grading;
questionId?: string;
required?: boolean;
rowQuestion?: RowQuestion;
scaleQuestion?: ScaleQuestion;
textQuestion?: TextQuestion;
timeQuestion?: TimeQuestion;
}

§Properties

§
choiceQuestion?: ChoiceQuestion
[src]

A respondent can choose from a pre-defined set of options.

§
dateQuestion?: DateQuestion
[src]

A respondent can enter a date.

§
fileUploadQuestion?: FileUploadQuestion
[src]

A respondent can upload one or more files.

§
grading?: Grading
[src]

Grading setup for the question.

§
questionId?: string
[src]

Read only. The question ID. On creation, it can be provided but the ID must not be already used in the form. If not provided, a new ID is assigned.

§
required?: boolean
[src]

Whether the question must be answered in order for a respondent to submit their response.

§
rowQuestion?: RowQuestion
[src]

A row of a QuestionGroupItem.

§
scaleQuestion?: ScaleQuestion
[src]

A respondent can choose a number from a range.

§
textQuestion?: TextQuestion
[src]

A respondent can enter a free text response.

§
timeQuestion?: TimeQuestion
[src]

A respondent can enter a time.