This 2019 review, Is a vegan or a vegetarian diet associated with the microbiota composition in the gut? Results of a new cross-sectional study and systematic review, concluded:
” No consistent association between a vegan diet or vegetarian diet and microbiota composition compared to omnivores could be identified. Moreover, some studies revealed contradictory results. This result could be due to high microbial individuality, and/or differences in the applied approaches. Standardized methods with high taxonomical and functional resolutions are needed to clarify this issue. “
I have seen that also in extracting facts to the database. While diet (based on these studies) is still on the suggestions list, it is not recommended to use. Specific food is a very different question. Diets tend to be nebulous collections of foods making things very undefined.