Interface LiveServerSetupComplete

Sent in response to a LiveGenerateContentSetup message from the client.

interface LiveServerSetupComplete {
    sessionId?: string;
    voiceConsentSignature?: VoiceConsentSignature;
}

Properties

sessionId?: string

The session id of the live session.

voiceConsentSignature?: VoiceConsentSignature

Signature of the verified consent audio. This is populated when the request has a ReplicatedVoiceConfig with consent_audio set, if the consent verification was successful. This may be used in a subsequent request instead of the consent_audio to verify the same consent.