Google Cloud Translation v3 API - Class DetectedLanguage (3.5.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
float

LanguageCode

public string LanguageCode { get; set; }

The ISO-639 language code of the source content in the request, detected automatically.

Property Value
TypeDescription
string