BetaInternalInternal_webSocketHandler: WebSocketHandlerBetaStarts a LiveSession.
OptionalsessionResumption: SessionResumptionConfigOptional configuration for resuming a previous live session.
A LiveSession.
StaticnormalizeInternalNormalizes the given model name to a fully qualified model resource name.
The model name to normalize.
The fully qualified model resource name.
Protected Internal_BetagenerationReadonlymodelThe fully qualified model resource name (for example, gemini-3.1-flash-lite for text or
publishers/google/models/gemini-3.1-flash-lite-image for image models).
Optional BetasystemOptional BetatoolOptional Betatools
Class for Live generative model APIs. The Live API enables low-latency, two-way multimodal interactions with Gemini.
This class should only be instantiated with getLiveGenerativeModel.