Class DetectedLanguage (2.3.0)

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

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