protect_sheet_range
Restrict editing access to specific spreadsheet ranges by allowing only designated editors to modify protected cells.
Instructions
Protect a range so that only specified editors can modify it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| spreadsheet_id | Yes | ||
| range_name | Yes | A1 range to protect. | |
| description | No | Optional description of the protection. | |
| editor_emails | No | List of user emails allowed to edit. If omitted, only the owner can. | |
| warning_only | No | If True, shows warning but allows edits. If False, strictly blocks. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |