public RepeatedField<VertexAISearch.Types.DataStoreSpec> DataStoreSpecs { get; }
Specifications that define the specific DataStores to be searched, along
with configurations for those data stores. This is only considered for
Engines with multiple data stores.
It should only be set if engine is used.
Optional. Fully-qualified Vertex AI Search data store resource ID.
Format:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}
[[["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-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eVertexAISearch\u003c/code\u003e class, part of the Google Cloud AI Platform v1beta1 API, facilitates retrieval from a Vertex AI Search datastore or engine for grounding, with datastore and engine being mutually exclusive.\u003c/p\u003e\n"],["\u003cp\u003eThis class is implemented with interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and also inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, the first one being a default constructor, and the second one allowing for the copy of another \u003ccode\u003eVertexAISearch\u003c/code\u003e object, in addition to having methods, such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eVertexAISearch\u003c/code\u003e has two properties, \u003ccode\u003eDatastore\u003c/code\u003e and \u003ccode\u003eEngine\u003c/code\u003e, both optional strings representing the fully-qualified resource IDs for the respective Vertex AI Search components.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class VertexAISearch (1.0.0-beta47)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta47 (latest)](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.VertexAISearch)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.VertexAISearch) \n\n public sealed class VertexAISearch : IMessage\u003cVertexAISearch\u003e, IEquatable\u003cVertexAISearch\u003e, IDeepCloneable\u003cVertexAISearch\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class VertexAISearch.\n\nRetrieve from Vertex AI Search datastore or engine for grounding.\ndatastore and engine are mutually exclusive.\nSee \u003chttps://cloud.google.com/products/agent-builder\u003e \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e VertexAISearch \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[VertexAISearch](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.VertexAISearch), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[VertexAISearch](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.VertexAISearch), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[VertexAISearch](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.VertexAISearch), [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.AIPlatform.V1Beta1](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.AIPlatform.V1Beta1.dll\n\nConstructors\n------------\n\n### VertexAISearch()\n\n public VertexAISearch()\n\n### VertexAISearch(VertexAISearch)\n\n public VertexAISearch(VertexAISearch other)\n\nProperties\n----------\n\n### DataStoreSpecs\n\n public RepeatedField\u003cVertexAISearch.Types.DataStoreSpec\u003e DataStoreSpecs { get; }\n\nSpecifications that define the specific DataStores to be searched, along\nwith configurations for those data stores. This is only considered for\nEngines with multiple data stores.\nIt should only be set if engine is used.\n\n### Datastore\n\n public string Datastore { get; set; }\n\nOptional. Fully-qualified Vertex AI Search data store resource ID.\nFormat:\n`projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`\n\n### Engine\n\n public string Engine { get; set; }\n\nOptional. Fully-qualified Vertex AI Search engine resource ID.\nFormat:\n`projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`\n\n### Filter\n\n public string Filter { get; set; }\n\nOptional. Filter strings to be passed to the search API.\n\n### MaxResults\n\n public int MaxResults { get; set; }\n\nOptional. Number of search results to return per query.\nThe default value is 10.\nThe maximumm allowed value is 10."]]