|
|
@ -35,7 +35,7 @@ exports.generateThumbnail = functions.storage.object().onChange(event => { |
|
|
|
const fileBucket = object.bucket; // The Storage bucket that contains the file.
|
|
|
|
const filePath = object.name; // File path in the bucket.
|
|
|
|
const contentType = object.contentType; // File content type.
|
|
|
|
const resourceState = object.resourceState; // The resourceState is 'exists' or 'not_exits' (for file/folder deletions).
|
|
|
|
const resourceState = object.resourceState; // The resourceState is 'exists' or 'not_exists' (for file/folder deletions).
|
|
|
|
// [END eventAttributes]
|
|
|
|
|
|
|
|
// [START stopConditions]
|
|
|
|