Google’s Cloud Endpoints has ESPv2 in beta so I pieced together a short journey into on how to set up and deploy a Google Cloud Function that is invoked only via a Cloud Endpoint (and throw and API Key into the mix).

Worth noting, of course, is that this was authored for ESPv2 Beta and is in response to struggling mightily around:

Also worth noting is that Google Cloud’s API Gateway is in Beta which should ultimately replace Cloud Endpoints in this “API proxy” style usage.

The struggle was quite simply on how to set up the Service Account, when to use it and the IAM permissions required for glueing everything together, bearing in mind that what we ultimately want…


Will van der Leij

A wolf in geeks clothing

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store