Google Cloud Translation v3 API - Class Glossary.Types.LanguageCodePair (3.3.0)

public sealed class Glossary.Types.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.

Inheritance

object > Glossary.Types.LanguageCodePair

Namespace

Google.Cloud.Translate.V3

Assembly

Google.Cloud.Translate.V3.dll

Constructors

LanguageCodePair()

public LanguageCodePair()

LanguageCodePair(LanguageCodePair)

public LanguageCodePair(Glossary.Types.LanguageCodePair other)
Parameter
NameDescription
otherGlossaryTypesLanguageCodePair

Properties

SourceLanguageCode

public string SourceLanguageCode { get; set; }

Required. The ISO-639 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code.

Property Value
TypeDescription
string

TargetLanguageCode

public string TargetLanguageCode { get; set; }

Required. The ISO-639 language code for translation output, for example, "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.

Property Value
TypeDescription
string