public sealed class LanguageA language supported by the Google Cloud Translation API.
Namespace
Google.Cloud.Translation.V2Assembly
Google.Cloud.Translation.V2.dll
Constructors
Language(String, String)
public Language(string name, string code)Constructs an instance.
| Parameters | |
|---|---|
| Name | Description |
name |
StringThe name of the language. May be null. |
code |
StringThe code of the language. Must not be null. |
Properties
Code
public string Code { get; }The code to use for the language when providing this to the API as a source or target language.
| Property Value | |
|---|---|
| Type | Description |
String |
|
Name
public string Name { get; }The descriptive name of the language, e.g. "English". May be null if no target language was provided when requesting the supported languages.
| Property Value | |
|---|---|
| Type | Description |
String |
|