Is it possible to include two buckets as -trigger-resource for a gcloud function? I tried the following deployment, but it only seems to be listening to events occuring in the bucket-2.
gcloud functions deploy my-function \
--entry-point functions.MyFunction \
--runtime java11 \
--memory 512MB \
--trigger-resource gs://bucket-1 \
--trigger-resource gs://bucket-2 \
--trigger-event google.storage.object.finalize \
--allow-unauthenticated \
--region=europe-west1
Would appreciate any sort of help.