public sealed class ClassificationModelOptions : IMessage<ClassificationModelOptions>, IEquatable<ClassificationModelOptions>, IDeepCloneable<ClassificationModelOptions>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Natural Language v1 API class ClassificationModelOptions.
Model options available for classification requests.
public ClassificationModelOptions.Types.V1Model V1Model { get; set; }
Setting this field will use the V1 model and V1 content categories
version. The V1 model is a legacy model; support for this will be
discontinued in the future.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation provides details for the \u003ccode\u003eClassificationModelOptions\u003c/code\u003e class within the Google Cloud Natural Language v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API documented is 3.7.0, with prior versions from 3.6.0 down to 2.2.0 also linked.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eClassificationModelOptions\u003c/code\u003e is used to specify model options for classification requests and is a sealed class inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default constructor and one that takes another \u003ccode\u003eClassificationModelOptions\u003c/code\u003e instance as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eIt supports using both V1 and V2 models for content classification, with the V2 model recommended for better performance.\u003c/p\u003e\n"]]],[],null,[]]