Skip to main content

Type Alias: UpdateFunctionRequest

type UpdateFunctionRequest: components["schemas"]["UpdateFunctionRequest"];

Properties​

PropertyTypeRequiredDescription
namestringNoFunction name
descriptionstringNoFunction description
draftCodestringNoDraft source code
draftEntrypointstringNoEntrypoint function name
runtime"nodejs20" | "nodejs22"NoRuntime environment
authMode"public" | "api_key" | "signed" | "participant"NoAuthentication mode. Use participant to let game clients call this function directly with a participant token; the verified identity arrives as event.auth.
timeoutnumberNoExecution timeout in ms (1000-300000)
memorynumberNoMemory limit in MB (128-1024)
envVarsSetEnvVarRequest[]NoUpdated environment variables (replaces all)

Defined in​

odin-transcription-service/packages/cortex-typescript-sdk/src/resources/functions.ts:33