You can configure a Cloud Run functions trigger to call a function in
response to Pub/Sub messages.

To learn how to combine these services, see the [Pub/Sub triggers](https://docs.cloud.google.com/run/docs/tutorials/pubsub.md.txt).