The configuration for the pubsub function
Configuration for defining an event function.
OptionaldisplayName?: stringHuman-readable display name for the function
Optionalenv?: Record<string, string>Environment variables provided to the function
Optionalmemory?: numberMemory allocation in gigabytes
The name of the resource. Unique within the blueprint. e.g. 'sync-webhook'
Optionalproject?: stringThe project ID of the project that contains your function.
The project attribute must be defined if your blueprint is scoped to an organization.
OptionalrobotToken?: stringToken provided during function invocation
Optionalruntime?: "node" | "nodejs22.x" | "nodejs24.x"The runtime environment for the function (currently only Node.js is supported)
Optionalsrc?: stringPath to the function source code
Optionaltimeout?: numberExecution timeout in seconds
The validated pubsub function resource
Defines a function that provide pubsub behaviour.