What happened?
I was unable to use Gemini 3 models in Gemini CLI in Cloud Shell.
So I changed from "Cloud shell user credentials" to "Vertex AI" auth.
I also set the right env vars.
However when I switch to vertex AI auth, no calls to Gemini are working.
It fails telling me that I don't have permissions to use vertex ai on the project "cloudshell-gca".
Looks like this is an internal project for Cloud Shell, and there is no reason I should be having access to this project. It also is not using my own project that I've set up via env vars.
Neither Gemini 3 nor Gemini 2.5 models are working.
What did you expect to happen?
The call should work and should leverage the vertex AI config that I've set up to invoke the required models.
Client information
Client Information
Run gemini to enter the interactive CLI, then run the /about command.
> /about
CLI Version 0.35.2 │
│ Git Commit d118cbba8 │
│ Model Auto (Gemini 2.5) │
│ Sandbox no sandbox │
│ OS linux │
│ Auth Method vertex-ai │
│ GCP Project cloudshell-gca ```
</details>
### Login information
_No response_
### Anything else we need to know?
_No response_
What happened?
I was unable to use Gemini 3 models in Gemini CLI in Cloud Shell.
So I changed from "Cloud shell user credentials" to "Vertex AI" auth.
I also set the right env vars.
However when I switch to vertex AI auth, no calls to Gemini are working.
It fails telling me that I don't have permissions to use vertex ai on the project "cloudshell-gca".
Looks like this is an internal project for Cloud Shell, and there is no reason I should be having access to this project. It also is not using my own project that I've set up via env vars.
Neither Gemini 3 nor Gemini 2.5 models are working.
What did you expect to happen?
The call should work and should leverage the vertex AI config that I've set up to invoke the required models.
Client information
Client Information
Run
geminito enter the interactive CLI, then run the/aboutcommand.