sheets_protect
Protect specific ranges or entire sheets in Google Sheets to control editing permissions and prevent unauthorized changes.
Instructions
Protect a sheet or range. If range_a1 is None, protects the entire sheet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spreadsheet | Yes | ||
| sheet_name | Yes | ||
| range_a1 | No | ||
| description | No | Protected | |
| warning_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |