Send feedback
Google Cloud Translation v2 API - Class Language (3.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.3.0 keyboard_arrow_down
public sealed class Language
Reference documentation and code samples for the Google Cloud Translation v2 API class Language.
A language supported by the Google Cloud Translation API.
Namespace
Google.Cloud.Translation.V2
Assembly
Google.Cloud.Translation.V2.dll
Constructors
Language(string, string)
public Language(string name, string code)
Parameters Name Description name
string
The name of the language. May be null.
code
string
The 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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-12 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-12 UTC."],[],[]]