public sealed class LanguageCodePair : IMessage<Glossary.Types.LanguageCodePair>, IEquatable<Glossary.Types.LanguageCodePair>, IDeepCloneable<Glossary.Types.LanguageCodePair>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Translation v3 API class Glossary.Types.LanguageCodePair.
Used with unidirectional glossaries.
Implements
IMessage<Glossary.Types.LanguageCodePair>, IEquatable<Glossary.Types.LanguageCodePair>, IDeepCloneable<Glossary.Types.LanguageCodePair>, IBufferMessage, IMessageNamespace
Google.Cloud.Translate.V3Assembly
Google.Cloud.Translate.V3.dll
Constructors
LanguageCodePair()
public LanguageCodePair()
LanguageCodePair(Glossary.Types.LanguageCodePair)
public LanguageCodePair(Glossary.Types.LanguageCodePair other)
Parameter | |
---|---|
Name | Description |
other | Glossary.Types.LanguageCodePair |
Properties
SourceLanguageCode
public string SourceLanguageCode { get; set; }
Required. The BCP-47 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code.
Property Value | |
---|---|
Type | Description |
String |
TargetLanguageCode
public string TargetLanguageCode { get; set; }
Required. The BCP-47 language code for translation output, for example, "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.
Property Value | |
---|---|
Type | Description |
String |