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.
Implements
IMessage<SupportedLanguage>, IEquatable<SupportedLanguage>, IDeepCloneable<SupportedLanguage>, IBufferMessage, IMessageNamespace
Google.Cloud.Translate.V3Assembly
Google.Cloud.Translate.V3.dll
Constructors
SupportedLanguage()
public SupportedLanguage()
SupportedLanguage(SupportedLanguage)
public SupportedLanguage(SupportedLanguage other)
Parameter | |
---|---|
Name | Description |
other | SupportedLanguage |
Properties
DisplayName
public string DisplayName { get; set; }
Human readable name of the language localized in the display language specified in the request.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
SupportSource
public bool SupportSource { get; set; }
Can be used as source language.
Property Value | |
---|---|
Type | Description |
Boolean |
SupportTarget
public bool SupportTarget { get; set; }
Can be used as target language.
Property Value | |
---|---|
Type | Description |
Boolean |