Class VertexAISearchDataStoreSpec
-
- All Implemented Interfaces:
public abstract class VertexAISearchDataStoreSpec extends JsonSerializable
Define data stores within engine to filter on in a search call and configurations for those data stores. For more information, see https://cloud.google.com/generative-ai-app-builder/docs/reference/rpc/google.cloud.discoveryengine.v1#datastorespec. This data type is not supported in Gemini API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classVertexAISearchDataStoreSpec.BuilderBuilder for VertexAISearchDataStoreSpec.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description VertexAISearchDataStoreSpec()
-
Method Summary
Modifier and Type Method Description abstract Optional<String>dataStore()Full resource name of DataStore, such as Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` abstract Optional<String>filter()Optional. static VertexAISearchDataStoreSpec.Builderbuilder()Instantiates a builder for VertexAISearchDataStoreSpec. abstract VertexAISearchDataStoreSpec.BuildertoBuilder()Creates a builder with the same values as this instance. static VertexAISearchDataStoreSpecfromJson(String jsonString)Deserializes a JSON string to a VertexAISearchDataStoreSpec object. -
Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
dataStore
abstract Optional<String> dataStore()
Full resource name of DataStore, such as Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
-
filter
abstract Optional<String> filter()
Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
-
builder
static VertexAISearchDataStoreSpec.Builder builder()
Instantiates a builder for VertexAISearchDataStoreSpec.
-
toBuilder
abstract VertexAISearchDataStoreSpec.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static VertexAISearchDataStoreSpec fromJson(String jsonString)
Deserializes a JSON string to a VertexAISearchDataStoreSpec object.
-
-
-
-