June 2018
Beginner to intermediate
394 pages
9h 2m
English
We can trigger a cloud function in response to uploading, downloading or deleting files and folders in a storage bucket. To trigger a function for storage changes, developers can make use of functions.storage to create a function that handles storage events. Based on the use case, we can trigger cloud functions to a specific bucket or to the default bucket:
For example, consider the code snippet of the functions:
exports.generateThumbnail = functions.storage.object().onChange((event) => { // ...});
Most of the time, developers need not download ...
Read now
Unlock full access