Package com.google.genai.types
Class InlinedRequest
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.InlinedRequest
Config for inlined request.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InlinedRequest.Builder
builder()
Instantiates a builder for InlinedRequest.abstract Optional<GenerateContentConfig>
config()
Configuration that contains optional model parameters.contents()
Content of the request.static InlinedRequest
Deserializes a JSON string to a InlinedRequest object.model()
ID of the model to use.abstract InlinedRequest.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
InlinedRequest
public InlinedRequest()
-
-
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>`_. -
contents
Content of the request. -
config
Configuration that contains optional model parameters. -
builder
Instantiates a builder for InlinedRequest. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a InlinedRequest object.
-