Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The request for a call to UserDefinedFunctionService_UpdateUserDefinedFunction to update a user defined function. Updating a user
defined function creates a new version of the user defined function, leaving the previous untouched. If no update is deemed necessary, then the
the current version is returned. If name is changed then only name will be changed. If archive date is changed then only archive date will be changed.
To archive user defined function, specify archived_date in the update mask as well as a non-null value for archived_date in the
user_defined_function object. To unarchive a user defined function, specify archived_date in the update mask and a null value for archived_date
in the user_defined_function object.
The list of fields to be updated. The fields available to be updated are name, archived_date, description, expression, and function_inputs.
-- name can't be updated if the function has ever had any dependencies
-- function_inputs inputs can't be updated if the function has any dependents (functions or calculated channels with a dependency on this function).
-- expression can't be updated if the function has dependents and the expression changes the output type.
Response
A successful response.