Method

onChange

onChange(handler) returns functions.CloudFunction containing non-null functions.storage.ObjectMetadata

Event handler which fires every time a Google Cloud Storage change occurs.

Parameter

handler

function(non-null functions.Event containing non-null functions.storage.ObjectMetadata)

Event handler which is run every time a Google Cloud Storage change occurs.

Value must not be null.

Returns

non-null functions.CloudFunction containing non-null functions.storage.ObjectMetadata A Cloud Function which you can export.