public sealed class AdaptiveMtTranslateRequest.Types.GlossaryConfig : IMessage<AdaptiveMtTranslateRequest.Types.GlossaryConfig>, IEquatable<AdaptiveMtTranslateRequest.Types.GlossaryConfig>, IDeepCloneable<AdaptiveMtTranslateRequest.Types.GlossaryConfig>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Translation v3 API class AdaptiveMtTranslateRequest.Types.GlossaryConfig.
Configures which glossary is used for a specific target language and defines options for applying that glossary.
Implements
IMessageAdaptiveMtTranslateRequestTypesGlossaryConfig, IEquatableAdaptiveMtTranslateRequestTypesGlossaryConfig, IDeepCloneableAdaptiveMtTranslateRequestTypesGlossaryConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Translate.V3Assembly
Google.Cloud.Translate.V3.dll
Constructors
GlossaryConfig()
public GlossaryConfig()GlossaryConfig(GlossaryConfig)
public GlossaryConfig(AdaptiveMtTranslateRequest.Types.GlossaryConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
AdaptiveMtTranslateRequestTypesGlossaryConfig |
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 |
|