config carries worker-instance defaults, immutable after creation and
delivered to the worker as CloudEvent extension attributes on every
triggering event (never process env vars, so values cannot leak between
workers co-loaded in one WorkManager process). A worker's own payload
field takes precedence; config is the fallback. tags is free-form
metadata.
Both are proto fields 4 and 5 of CreateWorkerRequest. They were absent
from this signature, so neither was reachable from TypeScript at all --
callers needing per-worker config had to fall back to the REST gateway.
Create a worker.
configcarries worker-instance defaults, immutable after creation and delivered to the worker as CloudEvent extension attributes on every triggering event (never process env vars, so values cannot leak between workers co-loaded in one WorkManager process). A worker's own payload field takes precedence; config is the fallback.tagsis free-form metadata.Both are proto fields 4 and 5 of CreateWorkerRequest. They were absent from this signature, so neither was reachable from TypeScript at all -- callers needing per-worker config had to fall back to the REST gateway.