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

Form

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

A Google Forms document. A form is created in Drive, and deleting a form or changing its access protections is done via the Drive API.

interface Form {
readonly formId?: string;
info?: Info;
items?: Item[];
readonly linkedSheetId?: string;
readonly responderUri?: string;
readonly revisionId?: string;
settings?: FormSettings;
}

§Properties

§
readonly formId?: string
[src]

Output only. The form ID.

§
info?: Info
[src]

Required. The title and description of the form.

§
items?: Item[]
[src]

Required. A list of the form's items, which can include section headers, questions, embedded media, etc.

§
readonly linkedSheetId?: string
[src]

Output only. The ID of the linked Google Sheet which is accumulating responses from this Form (if such a Sheet exists).

§
readonly responderUri?: string
[src]

Output only. The form URI to share with responders. This opens a page that allows the user to submit responses but not edit the questions.

§
readonly revisionId?: string
[src]

Output only. The revision ID of the form. Used in the WriteControl in update requests to identify the revision on which the changes are based. The format of the revision ID may change over time, so it should be treated opaquely. A returned revision ID is only guaranteed to be valid for 24 hours after it has been returned and cannot be shared across users. If the revision ID is unchanged between calls, then the form has not changed. Conversely, a changed ID (for the same form and user) usually means the form has been updated; however, a changed ID can also be due to internal factors such as ID format changes.

§

The form's settings. This must be updated with UpdateSettingsRequest; it is ignored during forms.create and UpdateFormInfoRequest.