[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eJavaScriptUDF\u003c/code\u003e class within the Google Cloud Pub/Sub v1 API for .NET, detailing its use in transforming or filtering Pub/Sub messages.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eJavaScriptUDF\u003c/code\u003e class is 3.23.0, with a list of all previous versions being available on the page, ranging down to version 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eJavaScriptUDF\u003c/code\u003e class allows users to define JavaScript functions, specified by \u003ccode\u003eFunctionName\u003c/code\u003e, that process Pub/Sub messages according to the provided JavaScript code in the \u003ccode\u003eCode\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eJavaScriptUDF\u003c/code\u003e implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, as it inherits from the base object class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCode\u003c/code\u003e property must contain a JavaScript function with a specific signature that either filters or transforms Pub/Sub messages by returning either \u003ccode\u003enull\u003c/code\u003e to filter, or a specific map to transform.\u003c/p\u003e\n"]]],[],null,[]]