POST
gforms_forms_set_publish_settings.py
Requires
https://www.googleapis.com/auth/forms.body. Costs 1 against the provider’s own quota.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Publish or unpublish a form, and turn response collection on or off. Both is_published and is_accepting_responses must be set when updating the publish state; accepting responses while unpublished is not supported. Legacy forms have no publish settings and are not supported.
from charter.packs import gforms
result = await gforms.forms_set_publish_settings.ainvoke({"formId": ..., "body": ...})
https://www.googleapis.com/auth/forms.body. Costs 1 against the provider’s own quota.| Field | Type | Description |
|---|---|---|
formId * | string | Required. The ID of the form. You can get the id from the formId field of the Form. |
| Field | Type | Description |
|---|---|---|
body * | SetPublishSettingsBody | The publish settings to apply. |
Was this page helpful?