set_publish_settings
Update a Google Form's template visibility and authentication requirements to control discoverability and submission access.
Instructions
Update a Google Form's publishing and auth requirements.
Side effects: mutates publish settings — changes how the form is discoverable (template) and who can submit (auth required). Does NOT change which items are on the form; for that use batch_update_form. Requires the forms OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | The user's Google email address (authenticated account). | |
| form_id | Yes | Form ID from the edit URL after /forms/d/. | |
| publish_as_template | No | True lists the form as a template in the Workspace template gallery. Default False. | |
| require_authentication | No | True requires respondents to sign in with a Google account to view/submit (their email is captured). False allows anonymous access. Default False. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |