public sealed class AdaptiveMtTranslateRequest : IMessage<AdaptiveMtTranslateRequest>, IEquatable<AdaptiveMtTranslateRequest>, IDeepCloneable<AdaptiveMtTranslateRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Translation v3 API class AdaptiveMtTranslateRequest.
The request for sending an AdaptiveMt translation query.
public AdaptiveMtTranslateRequest.Types.GlossaryConfig GlossaryConfig { get; set; }
Optional. Glossary to be applied. The glossary must be
within the same region (have the same location-id) as the model, otherwise
an INVALID_ARGUMENT (400) error is returned.
[[["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-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eAdaptiveMtTranslateRequest\u003c/code\u003e class is part of the Google Cloud Translation v3 API and is used for sending adaptive machine translation queries.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eAdaptiveMtTranslateRequest\u003c/code\u003e API class is 3.9.0, with several older versions available for use ranging back to version 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, inheriting from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of this request include \u003ccode\u003eContent\u003c/code\u003e (the input text), \u003ccode\u003eDataset\u003c/code\u003e (the dataset for adaptive MT), \u003ccode\u003eGlossaryConfig\u003c/code\u003e (optional glossary), and \u003ccode\u003eParent\u003c/code\u003e (regional call location).\u003c/p\u003e\n"],["\u003cp\u003eThere are various properties containing parameters that are either required or optional to be added to the request, such as the required \u003ccode\u003eContent\u003c/code\u003e, \u003ccode\u003eDataset\u003c/code\u003e, and \u003ccode\u003eParent\u003c/code\u003e parameters, or the optional \u003ccode\u003eGlossaryConfig\u003c/code\u003e parameter.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Translation v3 API - Class AdaptiveMtTranslateRequest (3.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.8.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.7.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.6.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.5.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.4.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.3.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.2.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.1.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.0.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/2.4.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/2.3.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/2.2.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest) \n\n public sealed class AdaptiveMtTranslateRequest : IMessage\u003cAdaptiveMtTranslateRequest\u003e, IEquatable\u003cAdaptiveMtTranslateRequest\u003e, IDeepCloneable\u003cAdaptiveMtTranslateRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Translation v3 API class AdaptiveMtTranslateRequest.\n\nThe request for sending an AdaptiveMt translation query. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AdaptiveMtTranslateRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AdaptiveMtTranslateRequest](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AdaptiveMtTranslateRequest](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AdaptiveMtTranslateRequest](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest), [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.Translate.V3](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3)\n\nAssembly\n--------\n\nGoogle.Cloud.Translate.V3.dll\n\nConstructors\n------------\n\n### AdaptiveMtTranslateRequest()\n\n public AdaptiveMtTranslateRequest()\n\n### AdaptiveMtTranslateRequest(AdaptiveMtTranslateRequest)\n\n public AdaptiveMtTranslateRequest(AdaptiveMtTranslateRequest other)\n\nProperties\n----------\n\n### Content\n\n public RepeatedField\u003cstring\u003e Content { get; }\n\nRequired. The content of the input in string format.\n\n### Dataset\n\n public string Dataset { get; set; }\n\nRequired. The resource name for the dataset to use for adaptive MT.\n`projects/{project}/locations/{location-id}/adaptiveMtDatasets/{dataset}`\n\n### DatasetAsAdaptiveMtDatasetName\n\n public AdaptiveMtDatasetName DatasetAsAdaptiveMtDatasetName { get; set; }\n\n[AdaptiveMtDatasetName](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtDatasetName)-typed view over the [Dataset](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest#Google_Cloud_Translate_V3_AdaptiveMtTranslateRequest_Dataset) resource name property.\n\n### GlossaryConfig\n\n public AdaptiveMtTranslateRequest.Types.GlossaryConfig GlossaryConfig { get; set; }\n\nOptional. Glossary to be applied. The glossary must be\nwithin the same region (have the same location-id) as the model, otherwise\nan INVALID_ARGUMENT (400) error is returned.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. Location to make a regional call.\n\nFormat: `projects/{project-number-or-id}/locations/{location-id}`.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest#Google_Cloud_Translate_V3_AdaptiveMtTranslateRequest_Parent) resource name property.\n\n### ReferenceSentenceConfig\n\n public AdaptiveMtTranslateRequest.Types.ReferenceSentenceConfig ReferenceSentenceConfig { get; set; }\n\nConfiguration for caller provided reference sentences."]]