Class SupportedLanguage (3.0.0)

public sealed class SupportedLanguage : IMessage<SupportedLanguage>, IEquatable<SupportedLanguage>, IDeepCloneable<SupportedLanguage>, IBufferMessage, IMessage

A single supported language response corresponds to information related to one supported language.

Inheritance

Object > SupportedLanguage

Namespace

Google.Cloud.Translate.V3

Assembly

Google.Cloud.Translate.V3.dll

Constructors

SupportedLanguage()

public SupportedLanguage()

SupportedLanguage(SupportedLanguage)

public SupportedLanguage(SupportedLanguage other)
Parameter
NameDescription
otherSupportedLanguage

Properties

DisplayName

public string DisplayName { get; set; }

Human readable name of the language localized in the display language specified in the request.

Property Value
TypeDescription
String

LanguageCode

public string LanguageCode { get; set; }

Supported language code, generally consisting of its ISO 639-1 identifier, for example, 'en', 'ja'. In certain cases, BCP-47 codes including language and region identifiers are returned (for example, 'zh-TW' and 'zh-CN')

Property Value
TypeDescription
String

SupportSource

public bool SupportSource { get; set; }

Can be used as source language.

Property Value
TypeDescription
Boolean

SupportTarget

public bool SupportTarget { get; set; }

Can be used as target language.

Property Value
TypeDescription
Boolean