Class VertexAISearchDataStoreSpec
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.
public record VertexAISearchDataStoreSpec : IEquatable<VertexAISearchDataStoreSpec>
- Inheritance
-
VertexAISearchDataStoreSpec
- Implements
- Inherited Members
Properties
DataStore
Full resource name of DataStore, such as Format:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
[JsonPropertyName("dataStore")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? DataStore { get; set; }
Property Value
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)
[JsonPropertyName("filter")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Filter { get; set; }
Property Value
Methods
FromJson(string, JsonSerializerOptions?)
Deserializes a JSON string to a VertexAISearchDataStoreSpec object.
public static VertexAISearchDataStoreSpec? FromJson(string jsonString, JsonSerializerOptions? options = null)
Parameters
jsonStringstringThe JSON string to deserialize.
optionsJsonSerializerOptionsOptional JsonSerializerOptions.
Returns
- VertexAISearchDataStoreSpec
The deserialized VertexAISearchDataStoreSpec object, or null if deserialization fails.