1.0.0-beta25 (latest) 1.0.0-beta24

    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 v1beta API class StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec.

Specification of the Vertex AI Search tool.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[StreamAssistRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types)[ToolsSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types)[VertexAiSearchSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[StreamAssistRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types)[ToolsSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types)[VertexAiSearchSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[StreamAssistRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types)[ToolsSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types)[VertexAiSearchSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Constructors

### VertexAiSearchSpec()

    public VertexAiSearchSpec()

### VertexAiSearchSpec(VertexAiSearchSpec)

    public VertexAiSearchSpec(StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpechttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.StreamAssistRequest.Types.ToolsSpec.Types.VertexAiSearchSpec` |

## Properties

### DataStoreSpecs

    public RepeatedField<SearchRequest.Types.DataStoreSpec> DataStoreSpecs { get; }

Optional. Specs defining
\[DataStore\]\[google.cloud.discoveryengine.v1beta.DataStore\]s to filter
on in a search call and configurations for those data stores. This is
only considered for
\[Engine\]\[google.cloud.discoveryengine.v1beta.Engine\]s with multiple
data stores.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SearchRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest.Types.DataStoreSpec` |   |

### Filter

    public string Filter { get; set; }

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](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |