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

Usage

import * as mod from "https://googleapis.deno.dev/v1/forms:v1.ts";

§Classes

Forms

Reads and writes Google Forms and responses.

GoogleAuth

§Variables

auth

§Interfaces

Answer

The submitted answer for a question.

BatchUpdateFormRequest

A batch of updates to perform on a form. All the specified updates are made or none of them are.

BatchUpdateFormResponse

Response to a BatchUpdateFormRequest.

ChoiceQuestion

A radio/checkbox/dropdown question.

CloudPubsubTopic

A Pub/Sub topic.

CorrectAnswer

A single correct answer for a question. For multiple-valued (CHECKBOX) questions, several CorrectAnswers may be needed to represent a single correct response option.

CorrectAnswers

The answer key for a question.

CreateItemRequest

Create an item in a form.

CreateItemResponse

The result of creating an item.

CreateWatchRequest

Create a new watch.

CredentialsClient

Defines the root interface for all clients that generate credentials for calling Google APIs. All clients should implement this interface.

DateQuestion

A date question. Date questions default to just month + day.

DeleteItemRequest

Delete an item in a form.

Empty

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

ExtraMaterial

Supplementary material to the feedback.

Feedback

Feedback for a respondent about their response to a question.

FileUploadAnswer

Info for a single file submitted to a file upload question.

FileUploadAnswers

All submitted files for a FileUpload question.

FileUploadQuestion

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

Form

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.

FormResponse

A form response.

FormSettings

A form's settings.

FormsResponsesListOptions

Additional options for Forms#formsResponsesList.

Grade

Grade information associated with a respondent's answer to a question.

Grading

Grading for a single question

Grid

A grid of choices (radio or check boxes) with each row constituting a separate question. Each row has the same choices, which are shown as the columns.

Image

Data representing an image.

ImageItem

An item containing an image.

Info

The general information for a form.

Item

A single item of the form. kind defines which kind of item it is.

ListFormResponsesResponse

Response to a ListFormResponsesRequest.

ListWatchesResponse

The response of a ListWatchesRequest.

Location

A specific location in a form.

MediaProperties

Properties of the media.

MoveItemRequest

Move an item in a form.

Option

An option for a Choice question.

PageBreakItem

A page break. The title and description of this item are shown at the top of the new page.

Question

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

QuestionGroupItem

Defines a question that comprises multiple questions grouped together.

QuestionItem

A form item containing a single question.

QuizSettings

Settings related to quiz forms and grading. These must be updated with the UpdateSettingsRequest.

RenewWatchRequest

Renew an existing Watch for seven days.

Request

The kinds of update requests that can be made.

Response

A single response from an update.

RowQuestion

Configuration for a question that is part of a question group.

ScaleQuestion

A scale question. The user has a range of numeric values to choose from.

TextAnswer

An answer to a question represented as text.

TextAnswers

A question's answers as text.

TextItem

A text item.

TextLink

Link for text.

TextQuestion

A text-based question.

TimeQuestion

A time question.

UpdateFormInfoRequest

Update Form's Info.

UpdateItemRequest

Update an item in a form.

UpdateSettingsRequest

Update Form's FormSettings.

Video

Data representing a video.

VideoItem

An item containing a video.

VideoLink

Link to a video.

Watch

A watch for events for a form. When the designated event happens, a notification will be published to the specified target. The notification's attributes will include a formId key that has the ID of the watched form and an eventType key that has the string of the type. Messages are sent with at-least-once delivery and are only dropped in extraordinary circumstances. Typically all notifications should be reliably delivered within a few seconds; however, in some situations notifications may be delayed. A watch expires seven days after it is created unless it is renewed with watches.renew

WatchTarget

The target for notification delivery.

WriteControl

Provides control over how write requests are executed.