Skip to main content

Gcp/forms

@swamp/gcp/formsv2026.04.23.1· 8d agoMODELS
01README

Google Cloud forms infrastructure models

02Models3
@swamp/gcp/forms/formsv2026.04.23.1forms.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
info?objectThe general information for a form.
items?arrayRequired. A list of the form's items, which can include section headers, questions, embedded media, etc.
publishSettings?objectThe publishing settings of a form.
settings?objectA form's settings.
unpublished?stringOptional. Whether the form is unpublished. If set to `true`, the form doesn't accept responses. If set to `false` or unset, the form is published and accepts responses.
fn create()
Create a forms
fn get(identifier: string)
Get a forms
ArgumentTypeDescription
identifierstringThe name of the forms
fn sync()
Sync forms state from GCP
fn batch_update(includeFormInResponse?: any, requests?: any, writeControl?: any)
batch update
ArgumentTypeDescription
includeFormInResponse?any
requests?any
writeControl?any
fn set_publish_settings(publishSettings?: any, updateMask?: any)
set publish settings
ArgumentTypeDescription
publishSettings?any
updateMask?any

Resources

state(infinite)— A Google Forms document. A form is created in Drive, and deleting a form or c...
@swamp/gcp/forms/forms-responsesv2026.04.23.1forms_responses.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fn get(identifier: string)
Get a responses
ArgumentTypeDescription
identifierstringThe name of the responses
fn sync()
Sync responses state from GCP

Resources

state(infinite)— A form response.
@swamp/gcp/forms/forms-watchesv2026.04.23.1forms_watches.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
watch?objectA 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
watchId?stringThe ID to use for the watch. If specified, the ID must not already be in use. If not specified, an ID is generated. This value should be 4-63 characters, and valid characters are /a-z-/.
formIdstringRequired. ID of the Form to watch.
fn create(waitForReady?: boolean)
Create a watches
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
fn get(identifier: string)
Get a watches
ArgumentTypeDescription
identifierstringThe name of the watches
fn delete(identifier: string)
Delete the watches
ArgumentTypeDescription
identifierstringThe name of the watches
fn sync()
Sync watches state from GCP
fn renew()
renew

Resources

state(infinite)— A watch for events for a form. When the designated event happens, a notificat...
03Previous Versions5
2026.04.04.1Apr 4, 2026
  • Updated: forms
2026.04.03.3Apr 3, 2026
  • Updated: forms, forms_responses, forms_watches
2026.04.03.1Apr 3, 2026
  • Updated: forms, forms_responses, forms_watches
2026.04.02.2Apr 2, 2026
2026.03.27.1Mar 27, 2026
  • Added: forms, forms_responses, forms_watches
04Stats
A
100 / 100
Downloads
0
Archive size
27.4 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels