01README
Google Cloud forms infrastructure models
02Models
@swamp/gcp/forms/formsv2026.04.23.1forms.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| info? | object | The general information for a form. |
| items? | array | Required. A list of the form's items, which can include section headers, questions, embedded media, etc. |
| publishSettings? | object | The publishing settings of a form. |
| settings? | object | A form's settings. |
| unpublished? | string | Optional. 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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the forms |
fn sync()
Sync forms state from GCP
fn batch_update(includeFormInResponse?: any, requests?: any, writeControl?: any)
batch update
| Argument | Type | Description |
|---|---|---|
| includeFormInResponse? | any | |
| requests? | any | |
| writeControl? | any |
fn set_publish_settings(publishSettings?: any, updateMask?: any)
set publish settings
| Argument | Type | Description |
|---|---|---|
| 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a responses
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| watch? | object | 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 |
| watchId? | string | The 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-/. |
| formId | string | Required. ID of the Form to watch. |
fn create(waitForReady?: boolean)
Create a watches
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
fn get(identifier: string)
Get a watches
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the watches |
fn delete(identifier: string)
Delete the watches
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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 Versions
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