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.
Implements
IMessageSupportedLanguage, IEquatableSupportedLanguage, IDeepCloneableSupportedLanguage, 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, ISO-639 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 a source language.
Property Value | |
---|---|
Type | Description |
bool |
SupportTarget
public bool SupportTarget { get; set; }
Can be used as a target language.
Property Value | |
---|---|
Type | Description |
bool |