Google Cloud Translation v3 API - Class AdaptiveMtTranslateRequest.Types.GlossaryConfig (3.9.0)

public sealed class AdaptiveMtTranslateRequest.Types.GlossaryConfig : IMessage<AdaptiveMtTranslateRequest.Types.GlossaryConfig>, IEquatable<AdaptiveMtTranslateRequest.Types.GlossaryConfig>, IDeepCloneable<AdaptiveMtTranslateRequest.Types.GlossaryConfig>, IBufferMessage, IMessage

Reference 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.

Inheritance

object > AdaptiveMtTranslateRequest.Types.GlossaryConfig

Namespace

Google.Cloud.Translate.V3

Assembly

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