Sample repository to use Vertex AI, instead of Google AI Studio - which is not available in EU... yet
In GeminiPro.java class on line 38 settings file from res\raw
folder is expected (you can see tree on a screenshoot below).
This settings file is generated from CLI gcloud
To generate it you should run command gcloud auth application-default login
Which after succesfull login should generate JSON file and print it's location in CMD