The google cloud docs describe how one can set up the google cloud functions written in python, which are to be triggered by firestore events (e.g. create, write, delete). https://cloud.google.com/functions/docs/calling/cloud-firestore
The docs also mention the use of wildcards (placeholders) in the document path:
Wildcards are written in triggers using curly braces, as follows:
"projects/YOUR_PROJECT_ID/databases/(default)/documents/collection/{document_wildcard}"
However, I can't find how to access the value of the document_wildcard from within the cloud function. E.g. I can't find it on the context variable.
Does someone have a hint? Are the values of wildcards available inside python google cloud functions?
event.value.name. - Frank van Puffelen