Creating and enabling a trigger in Cloud Functions
Triggers allow you to invoke Cloud Functions functions at a specific event. For example, a timer invokes a function on a custom schedule. Here is an example of a timer invoking a Cloud Functions function every minute.
In addition to timers, Cloud Functions features the following triggers:
-
Trigger for Message Queue
Create a trigger for a message queue in Message Queue and process messages using a function.
-
Trigger for Object Storage
Create a trigger for Object Storage that invokes a function when you create, move, or delete an object in a bucket.
-
Trigger for Container Registry
Create a trigger for Container Registry that invokes a function when you create or delete Container Registry Docker images or Docker image tags.
-
Trigger for Cloud Logging
Create a trigger for Cloud Logging that invokes a function when a record is added to a log group.
-
Trigger for Yandex IoT Core
Create a trigger for a Yandex IoT Core device, registry, or broker topic and process message copies using a function.
-
Trigger for budgets
Create a trigger for budgets that invokes a function when threshold values are exceeded.
-
Trigger for Data Streams
Create a trigger for Data Streams that invokes a function when data is sent to a stream.
-
Email trigger
Create an email trigger that invokes a function when an email arrives.