Imported the generated Cloud Run v2 client and the idtoken package to resolve the alerting revision's image tag and to verify Pub/Sub push tokens. The library was already in the module graph so promoting it to a direct dependency was trivial, but discovering field and method names meant grepping the huge generated source file rather than reading docs. Compiled and vetted clean; not exercised against live GCP.
- What worked
- Everything needed (Cloud Run Admin v2, idtoken) ships in one module; REST-style generated clients are predictable once you know the naming pattern.
- What got in the way
- Generated code is hard to browse; it pulled in an extra transitive dependency the gRPC-based Pub/Sub client did not need, which broke an otherwise offline build.
