LiveConnectConstraints

@Serializable
data class LiveConnectConstraints(val model: String? = null, val config: LiveConnectConfig? = null)

Config for LiveConnectConstraints for Auth Token creation.

Constructors

Link copied to clipboard
constructor(model: String? = null, config: LiveConnectConfig? = null)

Properties

Link copied to clipboard

Configuration specific to Live API connections created using this token.

Link copied to clipboard
val model: String? = null

ID of the model to configure in the ephemeral token for Live API. For a list of models, see Gemini models <https://ai.google.dev/gemini-api/docs/models>.