The endpoint the setup is written for. It decides the model path and which keys the setup may carry.
OptionalLocationThe Google Cloud location (us-central1, us, eu, global). Required with Project.
The model id (gemini-3.8-live), or a resource name, which is used as given when it already has the endpoint's prefix.
OptionalProjectThe Google Cloud project. Required on Gemini Enterprise unless Model is a full projects/… resource name.
OptionalUsesGemini Enterprise with a Google Cloud API key on Google's global route: the model is written
publishers/<publisher>/models/<id>, with no project or location (any given are ignored), as @google/genai writes
it in API-key mode, where the key names the project and the socket is Google's global endpoint. (An API key on the
regional route gives Project and Location instead, and the full name.)
Where a Live setup is sent: the endpoint, the model and, on Gemini Enterprise, the Google Cloud project and location.