Class VertexAISearchDataStoreSpec

java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.VertexAISearchDataStoreSpec

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
  • Constructor Details

    • VertexAISearchDataStoreSpec

      public VertexAISearchDataStoreSpec()
  • Method Details

    • dataStore

      public abstract Optional<String> dataStore()
      Full resource name of DataStore, such as Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
    • filter

      public 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

      public static VertexAISearchDataStoreSpec.Builder builder()
      Instantiates a builder for VertexAISearchDataStoreSpec.
    • toBuilder

      public abstract VertexAISearchDataStoreSpec.Builder toBuilder()
      Creates a builder with the same values as this instance.
    • fromJson

      public static VertexAISearchDataStoreSpec fromJson(String jsonString)
      Deserializes a JSON string to a VertexAISearchDataStoreSpec object.