1.1.0 (latest) 1.0.0

    public sealed class DataStoreTool : IMessage<DataStoreTool>, IEquatable<DataStoreTool>, IDeepCloneable<DataStoreTool>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class DataStoreTool.

Tool to retrieve from Vertex AI Search datastore or engine for grounding.
Accepts either a datastore or an engine, but not both.
See Vertex AI Search:
<https://cloud.google.com/generative-ai-app-builder/docs/enterprise-search-introduction>.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> DataStoreTool

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[DataStoreTool](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.DataStoreTool.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DataStoreTool](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.DataStoreTool.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[DataStoreTool](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.DataStoreTool.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.Ces.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.md.txt)

## Assembly

Google.Cloud.Ces.V1.dll

## Constructors

### DataStoreTool()

    public DataStoreTool()

### DataStoreTool(DataStoreTool)

    public DataStoreTool(DataStoreTool other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `DataStoreTool` |

## Properties

### BoostSpecs

    public RepeatedField<DataStoreTool.Types.BoostSpecs> BoostSpecs { get; }

Optional. Boost specification to boost certain documents.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldDataStoreToolTypesBoostSpecs` |   |

### DataStoreSource

    public DataStoreTool.Types.DataStoreSource DataStoreSource { get; set; }

Optional. Search within a single specific DataStore.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DataStoreToolTypesDataStoreSource` |   |

### Description

    public string Description { get; set; }

Optional. The tool description.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### EngineSource

    public DataStoreTool.Types.EngineSource EngineSource { get; set; }

Optional. Search within an Engine (potentially across multiple
DataStores).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DataStoreToolTypesEngineSource` |   |

### FilterParameterBehavior

    public DataStoreTool.Types.FilterParameterBehavior FilterParameterBehavior { get; set; }

Optional. The filter parameter behavior.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DataStoreToolTypesFilterParameterBehavior` |   |

### ModalityConfigs

    public RepeatedField<DataStoreTool.Types.ModalityConfig> ModalityConfigs { get; }

Optional. The modality configs for the data store.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldDataStoreToolTypesModalityConfig` |   |

### Name

    public string Name { get; set; }

Required. The data store tool name.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### SearchSourceCase

    public DataStoreTool.SearchSourceOneofCase SearchSourceCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DataStoreToolSearchSourceOneofCase` |   |