sheets_protect_range
Prevent unauthorized edits to a spreadsheet range. Configure warning-only or strict editing restrictions for specific cells.
Instructions
Protect a range of cells from editing
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | The range to protect | |
| description | No | Description of the protection | |
| warningOnly | No | Whether to show warning only or prevent editing | |
| spreadsheetId | Yes | The ID of the spreadsheet |