public sealed class DetectedLanguage : IMessage<DetectedLanguage>, IEquatable<DetectedLanguage>, IDeepCloneable<DetectedLanguage>, IBufferMessage, IMessage
The response message for language detection.
Implements
IMessage<DetectedLanguage>, IEquatable<DetectedLanguage>, IDeepCloneable<DetectedLanguage>, IBufferMessage, IMessageNamespace
Google.Cloud.Translate.V3Assembly
Google.Cloud.Translate.V3.dll
Constructors
DetectedLanguage()
public DetectedLanguage()
DetectedLanguage(DetectedLanguage)
public DetectedLanguage(DetectedLanguage other)
Parameter | |
---|---|
Name | Description |
other | DetectedLanguage |
Properties
Confidence
public float Confidence { get; set; }
The confidence of the detection result for this language.
Property Value | |
---|---|
Type | Description |
Single |
LanguageCode
public string LanguageCode { get; set; }
The BCP-47 language code of source content in the request, detected automatically.
Property Value | |
---|---|
Type | Description |
String |