Package com.google.genai.types
Class LiveConstrainedParameters
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.LiveConstrainedParameters
Config for LiveConstrainedParameters for Auth Token creation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for LiveConstrainedParameters. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Instantiates a builder for LiveConstrainedParameters.abstract Optional<LiveConnectConfig>config()Configuration specific to Live API connections created using this token.static LiveConstrainedParametersDeserializes a JSON string to a LiveConstrainedParameters object.model()ID of the model to configure in the ephemeral token for Live API.abstract LiveConstrainedParameters.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
toJson
-
Constructor Details
-
LiveConstrainedParameters
public LiveConstrainedParameters()
-
-
Method Details
-
model
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>`. -
config
Configuration specific to Live API connections created using this token. -
builder
Instantiates a builder for LiveConstrainedParameters. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a LiveConstrainedParameters object.
-