Simple example to show how to invoke a private webhook from a Google Cloud Function. This is valid, for example, to redirect PubSub push messages to a private endpoint in scenarios were having a public endpoint is not valid.
Some interesting documentation & tutorials tu complement this example are:
- https://cloud.google.com/architecture/sending-notifications-for-google-cloud-events
- https://cloud.google.com/functions/docs/samples/functions-concepts-requests#functions_concepts_requests-python
- https://cloud.google.com/functions/docs/calling/logging
The steps to create the end to end scenario are:
- ...