Cloud Functions - Cloud storage trigger at a specific path

366 views
Skip to first unread message

Janaka Jayasuriya

unread,
Jun 30, 2017, 12:31:28 PM6/30/17
to Firebase Google Group
In cloud functions, much like how we can use database triggers at a specific path:

functions.database.ref('/users/{userId}').onWrite(...)

Is it possible to listen to changes to a specific directory for storage triggers, instead of listening to the whole bucket?

Best,
Janaka J.

Doug Stevenson

unread,
Jun 30, 2017, 5:05:04 PM6/30/17
to Firebase Google Group
Sorry, that is not currently possible with Cloud Functions.  Feel free to log a feature request for that, and the team will triage it along with other requests.

Doug
Reply all
Reply to author
Forward
0 new messages