google.GeminiClient$stream
The Gemini Developer API client (`generativelanguage.googleapis.com`).
Reference version
Signature
class google.GeminiClient$streamThe Gemini Developer API client (generativelanguage.googleapis.com).
This client always talks to the Developer API. There is no environment
switch that re-points it at Vertex AI — the GOOGLE_GENAI_USE_ENTERPRISE /
GOOGLE_GENAI_USE_VERTEXAI flags of the google-genai SDK are deliberately
NOT honored here, because a credential-bearing client that changes endpoint,
auth scheme and billing account behind an ambient env var is a footgun. Use
the enterprise backend by naming it: google.VertexClient.new(...), or the
"vertex/<model>" client shorthand.
Source:<builtin>/google/gemini.bamlbytes 0–0
Fields
model
string | nullapi_key
ai.Credential$stream | nullbase_url
ai.Credential$stream | nullrequest_body
baml.json.json$stream | nullheaders
map<string, string> | nullquery_params
map<string, string> | nulltemperature
float | nullmax_output_tokens
int | nulltop_p
float | nulltop_k
int | nullstop_sequences
string[] | nullresponse_modalities
string[] | nullsafety_settings
google.SafetySetting$stream[] | nullcapture_wire
bool | null