public sealed class RetrievalConfig : IMessage<RetrievalConfig>, IEquatable<RetrievalConfig>, IDeepCloneable<RetrievalConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class RetrievalConfig.
[[["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-14 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eRetrievalConfig\u003c/code\u003e class is part of the Vertex AI v1beta1 API and is documented within the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace, with the latest version being 1.0.0-beta21.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRetrievalConfig\u003c/code\u003e inherits from the \u003ccode\u003eobject\u003c/code\u003e class and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<RetrievalConfig>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<RetrievalConfig>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRetrievalConfig\u003c/code\u003e class includes constructors that allow for creating a new instance or copying an existing \u003ccode\u003eRetrievalConfig\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eKey properties within \u003ccode\u003eRetrievalConfig\u003c/code\u003e include \u003ccode\u003eHasLanguageCode\u003c/code\u003e, a boolean indicating if the language code is set, \u003ccode\u003eLanguageCode\u003c/code\u003e, which specifies the language code of the user, and \u003ccode\u003eLatLng\u003c/code\u003e, representing the user's location.\u003c/p\u003e\n"],["\u003cp\u003eThe most up-to-date documented version is beta21, but there are also prior versions, as beta20, which are available on the platform.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class RetrievalConfig (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.RetrievalConfig)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.RetrievalConfig) \n\n public sealed class RetrievalConfig : IMessage\u003cRetrievalConfig\u003e, IEquatable\u003cRetrievalConfig\u003e, IDeepCloneable\u003cRetrievalConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class RetrievalConfig.\n\nRetrieval config. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RetrievalConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RetrievalConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RetrievalConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RetrievalConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RetrievalConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RetrievalConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RetrievalConfig), [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### RetrievalConfig()\n\n public RetrievalConfig()\n\n### RetrievalConfig(RetrievalConfig)\n\n public RetrievalConfig(RetrievalConfig other)\n\nProperties\n----------\n\n### HasLanguageCode\n\n public bool HasLanguageCode { get; }\n\nGets whether the \"language_code\" field is set\n\n### LanguageCode\n\n public string LanguageCode { get; set; }\n\nThe language code of the user.\n\n### LatLng\n\n public LatLng LatLng { get; set; }\n\nThe location of the user."]]