googleSheets.updateConditionalFormatRule() completely replaces a rule at one sheet’s zero-based index without moving it.
Example
Inputs
Providespreadsheet, sheet, zero-based index, complete replacement ranges, and a complete replacement rule. All ranges must resolve to sheet. See Create conditional format rule for range targets, conditions, gradients, strict colors, and supported conditional-format properties.
Table targets resolve to fixed grid ranges at update time. Rule indexes are per sheet and can shift after other rule lifecycle operations. Second argument { account } selects the Google Account. All action inputs accept compatible signals.
Output
Returns the updated{ index, ranges, rule } with normalized zero-based ranges.