public sealed class ClassificationCategory : IMessage<ClassificationCategory>, IEquatable<ClassificationCategory>, IDeepCloneable<ClassificationCategory>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Natural Language v1 API class ClassificationCategory.
Represents a category returned from the text classifier.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version available for the Google Cloud Natural Language v1 API class \u003ccode\u003eClassificationCategory\u003c/code\u003e is 3.7.0, with several previous versions also accessible, including 3.6.0, 3.5.0, 3.4.0, 3.3.0, 3.2.0, 3.1.0, 3.0.0, 2.3.0, and 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eClassificationCategory\u003c/code\u003e is a class that represents a category returned from the text classifier within the Google Cloud Natural Language v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces, extending its functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two properties, \u003ccode\u003eConfidence\u003c/code\u003e, which is a float representing how certain the classifier is of a category, and \u003ccode\u003eName\u003c/code\u003e, which is a string representing the category name.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eClassificationCategory\u003c/code\u003e class provides two constructors, one default and one taking another \u003ccode\u003eClassificationCategory\u003c/code\u003e object as a parameter, allowing for object creation and cloning.\u003c/p\u003e\n"]]],[],null,[]]