Class ClassificationCategory
Represents a category returned from the text classifier.
Implements
Inherited Members
Namespace: Google.Apis.CloudNaturalLanguage.v2.Data
Assembly: Google.Apis.CloudNaturalLanguage.v2.dll
Syntax
public class ClassificationCategory : IDirectResponseSchema
Properties
Confidence
The classifier's confidence of the category. Number represents how certain the classifier is that this category represents the given text.
Declaration
[JsonProperty("confidence")]
public virtual float? Confidence { get; set; }
Property Value
Type | Description |
---|---|
float? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The name of the category representing the document.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Severity
Optional. The classifier's severity of the category. This is only present when the ModerateTextRequest.ModelVersion is set to MODEL_VERSION_2, and the corresponding category has a severity score.
Declaration
[JsonProperty("severity")]
public virtual float? Severity { get; set; }
Property Value
Type | Description |
---|---|
float? |