Package com.google.genai.types
Class LiveConnectParameters
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.LiveConnectParameters
Parameters for connecting to the live API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for LiveConnectParameters. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Instantiates a builder for LiveConnectParameters.abstract Optional<LiveConnectConfig>
config()
Optional configuration parameters for the request.static LiveConnectParameters
Deserializes a JSON string to a LiveConnectParameters object.model()
ID of the model to use.abstract LiveConnectParameters.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
LiveConnectParameters
public LiveConnectParameters()
-
-
Method Details
-
model
ID of the model to use. For a list of models, see `Google models <https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models>`_. -
config
Optional configuration parameters for the request. -
builder
Instantiates a builder for LiveConnectParameters. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a LiveConnectParameters object.
-