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 user-defined schedule. Here is an example of a timer invoking the function in Cloud Functions every minute.
In addition to timers, the following types of triggers are available in Cloud Functions:
-
Trigger for Message Queue
Create a trigger for a 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 a bucket object.
-
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 whenever entries are added to the 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.