public sealed class TranslateTextGlossaryConfig : IMessage<TranslateTextGlossaryConfig>, IEquatable<TranslateTextGlossaryConfig>, IDeepCloneable<TranslateTextGlossaryConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Translation v3 API class TranslateTextGlossaryConfig.
Configures which glossary is used for a specific target language and defines
options for applying that glossary.
[[["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 latest version of the \u003ccode\u003eTranslateTextGlossaryConfig\u003c/code\u003e class is 3.9.0, and the documentation provides access to versions from 3.8.0 down to 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTranslateTextGlossaryConfig\u003c/code\u003e is a class in the Google Cloud Translation v3 API that defines the glossary configuration for text translation, including which glossary to use and options for its application.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple 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 capabilities within the Google.Protobuf namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTranslateTextGlossaryConfig\u003c/code\u003e class includes properties like \u003ccode\u003eContextualTranslationEnabled\u003c/code\u003e, \u003ccode\u003eGlossary\u003c/code\u003e, \u003ccode\u003eGlossaryAsGlossaryName\u003c/code\u003e, and \u003ccode\u003eIgnoreCase\u003c/code\u003e to manage glossary usage, including specifying the glossary resource and whether to use contextual or case-insensitive matching.\u003c/p\u003e\n"],["\u003cp\u003eThe class allows the construction of an instance with or without an existing \u003ccode\u003eTranslateTextGlossaryConfig\u003c/code\u003e object and it inherits members such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e from the object class.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Translation v3 API - Class TranslateTextGlossaryConfig (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.TranslateTextGlossaryConfig)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.8.0/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.7.0/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.6.0/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.5.0/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.4.0/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.3.0/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.2.0/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.1.0/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.0.0/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/2.4.0/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/2.3.0/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/2.2.0/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig) \n\n public sealed class TranslateTextGlossaryConfig : IMessage\u003cTranslateTextGlossaryConfig\u003e, IEquatable\u003cTranslateTextGlossaryConfig\u003e, IDeepCloneable\u003cTranslateTextGlossaryConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Translation v3 API class TranslateTextGlossaryConfig.\n\nConfigures which glossary is used for a specific target language and defines\noptions for applying that glossary. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e TranslateTextGlossaryConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TranslateTextGlossaryConfig](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TranslateTextGlossaryConfig](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TranslateTextGlossaryConfig](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig), [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### TranslateTextGlossaryConfig()\n\n public TranslateTextGlossaryConfig()\n\n### TranslateTextGlossaryConfig(TranslateTextGlossaryConfig)\n\n public TranslateTextGlossaryConfig(TranslateTextGlossaryConfig other)\n\nProperties\n----------\n\n### ContextualTranslationEnabled\n\n public bool ContextualTranslationEnabled { get; set; }\n\nOptional. If set to true, the glossary will be used for contextual\ntranslation.\n\n### Glossary\n\n public string Glossary { get; set; }\n\nRequired. The `glossary` to be applied for this translation.\n\nThe format depends on the glossary:\n\n- User-provided custom glossary: `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`\n\n### GlossaryAsGlossaryName\n\n public GlossaryName GlossaryAsGlossaryName { get; set; }\n\n[GlossaryName](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.GlossaryName)-typed view over the [Glossary](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig#Google_Cloud_Translate_V3_TranslateTextGlossaryConfig_Glossary) resource name property.\n\n### IgnoreCase\n\n public bool IgnoreCase { get; set; }\n\nOptional. Indicates match is case insensitive. The default value is `false`\nif missing."]]