Forms
import { Forms } from "https://googleapis.deno.dev/v1/forms:v1.ts";
Reads and writes Google Forms and responses.
§Methods
Create a new form using the title given in the provided form message in the request. Important: Only the form.info.title and form.info.document_title fields are copied to the new form. All other fields including the form description, items and settings are disallowed. To create a new form and add items, you must first call forms.create to create an empty form with a title and (optional) document title, and then call forms.update to add the items.
Get one response from the form.
Required. The form ID.
Required. The response ID within the form.
List a form's responses.
Required. ID of the Form whose responses to list.
Create a new watch. If a watch ID is provided, it must be unused. For each invoking project, the per form limit is one watch per Watch.EventType. A watch expires seven days after it is created (see Watch.expire_time).
Required. ID of the Form to watch.
Return a list of the watches owned by the invoking project. The maximum number of watches is two: For each invoker, the limit is one for each event type per form.
Required. ID of the Form whose watches to list.
Renew an existing watch for seven days. The state of the watch after
renewal is ACTIVE
, and the expire_time
is seven days from the renewal.
Renewing a watch in an error state (e.g. SUSPENDED
) succeeds if the error
is no longer present, but fail otherwise. After a watch has expired,
RenewWatch returns NOT_FOUND
.
Required. The ID of the Form.
Required. The ID of the Watch to renew.