title: How to publish to a GCP PubSub topic from inside a Cloudflare worker
body: <p>Is it possible to publish to a GCP PubSub topic via a basic HTTP request? I have a Cloudflare worker from which I'd like to publish directly to a topic. I originally tried bundling the NodeJS module, but webpack (via wrangler) was unable to build due to dependencies (specifically <code>tls</code>) that are  unavailable in the server worker environment.</p>
  
  <p>It seems API keys aren't supported on the PubSub API and I can't for the life of me find a way to use a service account <em>without</em> using an SDK.</p>