[[["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\u003eRetrieval\u003c/code\u003e class, part of the Google.Cloud.AIPlatform.V1Beta1 API, defines a tool for accessing external knowledge within models.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, showcasing its integration with protocol buffer structures.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRetrieval\u003c/code\u003e has properties to specify the data source, either using \u003ccode\u003eVertexAiSearch\u003c/code\u003e or \u003ccode\u003eVertexRagStore\u003c/code\u003e, allowing access to external data through Vertex AI services.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two constructors, one for default initialization and another for cloning an existing \u003ccode\u003eRetrieval\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDisableAttribution\u003c/code\u003e property is deprecated and no longer supported, whereas the \u003ccode\u003eSourceCase\u003c/code\u003e property allows for managing the data source selection.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class Retrieval (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.Retrieval)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.Retrieval) \n\n public sealed class Retrieval : IMessage\u003cRetrieval\u003e, IEquatable\u003cRetrieval\u003e, IDeepCloneable\u003cRetrieval\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class Retrieval.\n\nDefines a retrieval tool that model can call to access external knowledge. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Retrieval \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Retrieval](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.Retrieval), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Retrieval](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.Retrieval), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Retrieval](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.Retrieval), [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### Retrieval()\n\n public Retrieval()\n\n### Retrieval(Retrieval)\n\n public Retrieval(Retrieval other)\n\nProperties\n----------\n\n### DisableAttribution\n\n [Obsolete]\n public bool DisableAttribution { get; set; }\n\nOptional. Deprecated. This option is no longer supported.\n\n### SourceCase\n\n public Retrieval.SourceOneofCase SourceCase { get; }\n\n### VertexAiSearch\n\n public VertexAISearch VertexAiSearch { get; set; }\n\nSet to use data source powered by Vertex AI Search.\n\n### VertexRagStore\n\n public VertexRagStore VertexRagStore { get; set; }\n\nSet to use data source powered by Vertex RAG store.\nUser data is uploaded via the VertexRagDataService."]]