Skip to main content

forms

Overview

Nameforms
TypeResource
Idgoogleworkspace.forms.forms

Fields

NameDatatypeDescription
descriptionstringThe description of the item.
itemIdstringThe 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.
questionItemobjectA form item containing a single question.
videoItemobjectAn item containing a video.
imageItemobjectAn item containing an image.
questionGroupItemobjectDefines a question that comprises multiple questions grouped together.
pageBreakItemobjectA page break. The title and description of this item are shown at the top of the new page.
titlestringThe title of the item.
textItemobjectA text item.

Methods

NameAccessible byRequired ParamsDescription
getSELECTformIdGet a form.
createINSERTCreate 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.
batchUpdateEXECformIdChange the form with a batch of updates.