Package com.google.genai.types
Class VertexAISearch
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.VertexAISearch
Retrieve from Vertex AI Search datastore or engine for grounding. datastore and engine are
mutually exclusive. See https://cloud.google.com/products/agent-builder
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VertexAISearch.Builder
builder()
Instantiates a builder for VertexAISearch.Optional.engine()
Optional.static VertexAISearch
Deserializes a JSON string to a VertexAISearch object.abstract VertexAISearch.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
fromJsonString, toJson
-
Constructor Details
-
VertexAISearch
public VertexAISearch()
-
-
Method Details
-
datastore
Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` -
engine
Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` -
builder
Instantiates a builder for VertexAISearch. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a VertexAISearch object.
-