Google Cloud Translation v3 API - Class SupportedLanguage (3.4.0)

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

Reference documentation and code samples for the Google Cloud Translation v3 API class SupportedLanguage.

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, ISO-639 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 a source language.

Property Value
TypeDescription
bool

SupportTarget

public bool SupportTarget { get; set; }

Can be used as a target language.

Property Value
TypeDescription
bool