Skip to main content
PATCH
UpdateUserDefinedFunction

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

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. Alternatively, use is_archived with a boolean value to archive/unarchive.

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. Alternatively, use is_archived with a boolean value to archive/unarchive.

userDefinedFunction
object
required
updateMask
string
required

Response

A successful response.

userDefinedFunction
object
required