Update Extraction Rule
Partially updates an extraction rule. Only the fields specified in the updates map are changed; unspecified fields remain unchanged. Supports optimistic concurrency via the etag field — if the provided etag does not match the current version, the request returns HTTP 409 Conflict.
Responses
A successful response.
Optimistic concurrency. Updates use the etag returned in the response of any Get or List call. Pass it on the next update; the server returns HTTP 409 Conflict if the rule has been modified by someone else in the meantime — re-fetch, reconcile, and retry.
PATCH vs PUT. Use this PATCH endpoint to change a few fields and leave the rest as-is. Use the sibling PUT /v2beta/extraction/rules/{id} (Replace Extraction Rule) when you have the full rule and want to overwrite every editable field.