public AutomationRule updateAutomationRule ( long sheetId , AutomationRule automationRule ) throws SmartsheetException { Util . throwIfNull ( automationRule ) ; return this . updateResource ( "sheets/" + sheetId + "/automationrules/" + automationRule . getId ( ) , AutomationRule . class , automationRule ) ; }
Updates an automation rule .