forms
Overview
Name | forms |
Type | Resource |
Id | googleworkspace.forms.forms |
Fields
Name | Datatype | Description |
---|---|---|
description | string | The description of the item. |
itemId | string | The item 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. |
questionItem | object | A form item containing a single question. |
videoItem | object | An item containing a video. |
imageItem | object | An item containing an image. |
questionGroupItem | object | Defines a question that comprises multiple questions grouped together. |
pageBreakItem | object | A page break. The title and description of this item are shown at the top of the new page. |
title | string | The title of the item. |
textItem | object | A text item. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | formId | Get a form. |
create | INSERT | 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. | |
batchUpdate | EXEC | formId | Change the form with a batch of updates. |