I\'d like to do a collection group query but within a certain path, meaning that I would like to target collections not only with the collectionId but also with where the collec
This is currently not possible with Cloud Firestore. When you perform a collection group query, it will use all of the collections and subcollections with the given name. You are not able to narrow to scope of the query to specific collections.
What you can do instead is store a field inside the documents in each subcollection that identify which top-level collection they belong to, then use that field to filter your results.