Skip to Content
Hands-On Serverless Computing
book

Hands-On Serverless Computing

by Kuldeep Chowhan
July 2018
Intermediate to advanced
350 pages
8h 47m
English
Packt Publishing
Content preview from Hands-On Serverless Computing

Triggers

Let's learn about Google Cloud Function triggers. Whenever you create a response to an event that was invoked when new files are added to Google Cloud Storage or whenever a new message is published to Google Cloud Pub/Sub, it is called a trigger. A trigger on a Google Cloud Function is a declaration/definition stating that you want the Google Cloud Function to be invoked in response to a certain set of events. You need to associate the Google Cloud Function to a trigger, which allows you to act upon the events that invoked the Google Cloud Function.

Triggers and Functions are associated with each other on a many-to-one basis. You can only have one trigger on a Google Cloud Function. However, you can have multiple Google Cloud Functions ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn AWS Serverless Computing

Learn AWS Serverless Computing

Scott Patterson
Erlang and OTP in Action

Erlang and OTP in Action

Eric Merritt, Richard Carlsson, Martin Logan

Publisher Resources

ISBN: 9781788836654Supplemental Content