Type Alias: UpdateFunctionRequest
Properties
| Property | Type | Required | Description |
|---|---|---|---|
name | string | No | Function name |
description | string | No | Function description |
draftCode | string | No | Draft source code |
draftEntrypoint | string | No | Entrypoint function name |
runtime | "nodejs20" | "nodejs22" | No | Runtime environment |
authMode | "public" | "api_key" | "signed" | "participant" | No | Authentication mode. Use participant to let game clients call this function directly with a participant token; the verified identity arrives as event.auth. |
timeout | number | No | Execution timeout in ms (1000-300000) |
memory | number | No | Memory limit in MB (128-1024) |
envVars | SetEnvVarRequest[] | No | Updated environment variables (replaces all) |
Defined in
odin-transcription-service/packages/cortex-typescript-sdk/src/resources/functions.ts:33