public sealed class StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec : IMessage<StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec>, IEquatable<StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec>, IDeepCloneable<StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec.
public RepeatedField<SearchRequest.Types.DataStoreSpec> DataStoreSpecs { get; }
Optional. Specs defining
[DataStore][google.cloud.discoveryengine.v1.DataStore]s to filter on in
a search call and configurations for those data stores. This is only
considered for [Engine][google.cloud.discoveryengine.v1.Engine]s with
multiple data stores.
Optional. The filter syntax consists of an expression language for
constructing a predicate from one or more fields of the documents being
filtered. Filter expression is case-sensitive.
If this field is unrecognizable, an INVALID_ARGUMENT is returned.
Filtering in Vertex AI Search is done by mapping the LHS filter key to
a key property defined in the Vertex AI Search backend -- this mapping
is defined by the customer in their schema. For example a media
customer might have a field 'name' in their schema. In this case the
filter would look like this: filter --> name:'ANY("king kong")'
For more information about filtering including syntax and filter
operators, see
Filter
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Discovery Engine v1 API - Class StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec) \n\n public sealed class StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec : IMessage\u003cStreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec\u003e, IEquatable\u003cStreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec\u003e, IDeepCloneable\u003cStreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec.\n\nSpecification of the Vertex AI Search tool. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[StreamAssistRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types)[ToolsSpec](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types.ToolsSpec)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types.ToolsSpec.Types)[VertexAiSearchSpec](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[StreamAssistRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types)[ToolsSpec](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types.ToolsSpec)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types.ToolsSpec.Types)[VertexAiSearchSpec](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[StreamAssistRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types)[ToolsSpec](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types.ToolsSpec)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types.ToolsSpec.Types)[VertexAiSearchSpec](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DiscoveryEngine.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.dll\n\nConstructors\n------------\n\n### VertexAiSearchSpec()\n\n public VertexAiSearchSpec()\n\n### VertexAiSearchSpec(VertexAiSearchSpec)\n\n public VertexAiSearchSpec(StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec other)\n\nProperties\n----------\n\n### DataStoreSpecs\n\n public RepeatedField\u003cSearchRequest.Types.DataStoreSpec\u003e DataStoreSpecs { get; }\n\nOptional. Specs defining\n\\[DataStore\\]\\[google.cloud.discoveryengine.v1.DataStore\\]s to filter on in\na search call and configurations for those data stores. This is only\nconsidered for \\[Engine\\]\\[google.cloud.discoveryengine.v1.Engine\\]s with\nmultiple data stores.\n\n### Filter\n\n public string Filter { get; set; }\n\nOptional. The filter syntax consists of an expression language for\nconstructing a predicate from one or more fields of the documents being\nfiltered. Filter expression is case-sensitive.\n\nIf this field is unrecognizable, an `INVALID_ARGUMENT` is returned.\n\nFiltering in Vertex AI Search is done by mapping the LHS filter key to\na key property defined in the Vertex AI Search backend -- this mapping\nis defined by the customer in their schema. For example a media\ncustomer might have a field 'name' in their schema. In this case the\nfilter would look like this: filter --\\\u003e name:'ANY(\"king kong\")'\n\nFor more information about filtering including syntax and filter\noperators, see\n[Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)"]]