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.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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.Builder builder() Instantiates a builder for VertexAISearchDataStoreSpec.
      abstract VertexAISearchDataStoreSpec.Builder toBuilder() Creates a builder with the same values as this instance.
      static VertexAISearchDataStoreSpec fromJson(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
    • Constructor Detail

      • VertexAISearchDataStoreSpec

        VertexAISearchDataStoreSpec()