Google Cloud Translation v3 API - Class DetectedLanguage (3.1.0)

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

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

The response message for language detection.

Inheritance

Object > DetectedLanguage

Namespace

Google.Cloud.Translate.V3

Assembly

Google.Cloud.Translate.V3.dll

Constructors

DetectedLanguage()

public DetectedLanguage()

DetectedLanguage(DetectedLanguage)

public DetectedLanguage(DetectedLanguage other)
Parameter
NameDescription
otherDetectedLanguage

Properties

Confidence

public float Confidence { get; set; }

The confidence of the detection result for this language.

Property Value
TypeDescription
Single

LanguageCode

public string LanguageCode { get; set; }

The BCP-47 language code of source content in the request, detected automatically.

Property Value
TypeDescription
String