Live Server Message
@Serializable
Response message for API call.
Constructors
Link copied to clipboard
constructor(setupComplete: LiveServerSetupComplete? = null, serverContent: LiveServerContent? = null, toolCall: LiveServerToolCall? = null, toolCallCancellation: LiveServerToolCallCancellation? = null, usageMetadata: UsageMetadata? = null, goAway: LiveServerGoAway? = null, sessionResumptionUpdate: LiveServerSessionResumptionUpdate? = null, voiceActivityDetectionSignal: VoiceActivityDetectionSignal? = null, voiceActivity: VoiceActivity? = null)
Properties
Link copied to clipboard
Returns the concatenation of all inline data parts in the LiveServerContent.modelTurn.
Link copied to clipboard
Server will disconnect soon.
Link copied to clipboard
Content generated by the model in response to client messages.
Link copied to clipboard
Update of the session resumption state.
Link copied to clipboard
Sent in response to a LiveClientSetup message from the client.
Link copied to clipboard
Returns the concatenation of all text parts in the LiveServerContent.modelTurn.
Link copied to clipboard
Request for the client to execute the function_calls and return the responses with the matching ids.
Link copied to clipboard
Notification for the client that a previously issued ToolCallMessage with the specified ids should have been not executed and should be cancelled.
Link copied to clipboard
Usage metadata about model response(s).
Link copied to clipboard
Voice activity signal.
Link copied to clipboard
Voice activity detection signal. Allowlisted only.