update_function
Update a function's timeout, memory, or schedule without redeploying code. Adjust resource limits and cron expressions for existing functions.
Instructions
Update a function's timeout or memory without re-deploying code. Legacy schedule mutation remains for old simple-function surfaces; new schedule/email background triggers should be declared through ReleaseSpec triggers[].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Function name to update | |
| memory | No | Memory in MB (tier limits apply) | |
| timeout | No | Timeout in seconds (tier limits apply) | |
| schedule | No | Cron expression (5-field, e.g. '*/15 * * * *') to set or update the schedule. Pass null to remove an existing schedule. | |
| project_id | Yes | The project ID |