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.
Implements
IMessageTranslateTextGlossaryConfig, IEquatableTranslateTextGlossaryConfig, IDeepCloneableTranslateTextGlossaryConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Translate.V3Assembly
Google.Cloud.Translate.V3.dll
Constructors
TranslateTextGlossaryConfig()
public TranslateTextGlossaryConfig()
TranslateTextGlossaryConfig(TranslateTextGlossaryConfig)
public TranslateTextGlossaryConfig(TranslateTextGlossaryConfig other)
Parameter | |
---|---|
Name | Description |
other |
TranslateTextGlossaryConfig |
Properties
ContextualTranslationEnabled
public bool ContextualTranslationEnabled { get; set; }
Optional. If set to true, the glossary will be used for contextual translation.
Property Value | |
---|---|
Type | Description |
bool |
Glossary
public string Glossary { get; set; }
Required. The glossary
to be applied for this translation.
The format depends on the glossary:
- User-provided custom glossary:
projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}
Property Value | |
---|---|
Type | Description |
string |
GlossaryAsGlossaryName
public GlossaryName GlossaryAsGlossaryName { get; set; }
GlossaryName-typed view over the Glossary resource name property.
Property Value | |
---|---|
Type | Description |
GlossaryName |
IgnoreCase
public bool IgnoreCase { get; set; }
Optional. Indicates match is case insensitive. The default value is false
if missing.
Property Value | |
---|---|
Type | Description |
bool |