ReadonlyNameThe run's name, for messages, e.g. 'gemini-enterprise'.
ReadonlyTraitsOptionalAnswerThe model starts speaking its answer: its first words, as the provider transcribes them (Gemini: the output transcription). The video that follows is the answer's until the turn's generation completes; video outside an answer (an avatar's between answers, which Vertex AI streams) plays, but is not the agent speaking. Without it the kit can't tell the two apart, and VC13 leaves that part out.
OptionalAskedWhether the last connect asked the provider for video: an avatar nobody sees is still generated, and billed.
Connects the client, and opens whatever the fake transport needs, until the session listens.
A client driver with a fake transport, its creation seams wired to media. Register no handlers on it: the kit
registers its own. A check may run two sessions one after the other, so a second call starts over with a new client.
OptionalDisposeReleases what the harness set up. Called once after each check, failed ones too.
OptionalGenerationThe model has generated the whole turn; its media may still be arriving. Without it the kit uses TurnComplete.
The user barged in: the provider stopped the model's turn.
The session config the provider's server mints for the grant. The kit adds the host's track request to it.
OptionalRefuseMakes this browser unable to play the provider's video, before the next connect. Returns the undo.
OptionalResumeA planned move to a new connection, mid-turn (the provider's session resumption). Resolves once the session listens again.
OptionalSendThe model sends a part of any MIME type, as the provider's wire names it.
The model sends a frame of the agent's video, of the provider's kind (RealtimeVideoConformanceTraits.VideoFrameKind),
as Core's RealtimeVideoFrame: the harness puts it on its wire as the provider would. Resolves once the client has
handled it.
The model sends PCM16 of the agent's voice. Resolves once the client has handled it.
The chunk.
OptionalmediaTimeMs: numberWhere the chunk starts on the stream's media timeline, for a provider with RealtimeVideoConformanceTraits.TimedVoice; a provider whose wire has no time ignores it.
The model's turn is over.
One provider, set up for one check: the factory makes a new one per check, and once more to read its traits and methods when the checks are listed. Keep construction free of side effects (install fakes in CreateClient, undo them in Dispose).
Methods marked optional gate checks: a check that needs one the harness lacks is skipped with the reason.