You can configure Eventarc triggers when you deploy a Cloud Function using the Cloud Functions interface (Google Cloud CLI or the Google Cloud console).
You can create an Eventarc trigger so that your Cloud Functions service receives notifications of a specified event or set of events. By specifying filters for the trigger, you can configure the routing of the event, including the event source. For more information, see Eventarc triggers.
Requests to your service are triggered by the following event types:
- When an audit log is created that matches the trigger's filter criteria
- In response to direct events such as an update to a Cloud Storage bucket or an update to a Firebase Remote Config template
- By messages published to a Pub/Sub topic