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"]],[["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\u003eThis page provides documentation for the \u003ccode\u003eClassificationModelOptions\u003c/code\u003e class within the Google Cloud Natural Language v1 API, specifically for version 3.1.0 and its associated versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eClassificationModelOptions\u003c/code\u003e class is used to define model options for classification requests and implements multiple interfaces for message handling, equality, cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors and includes properties that allow setting the model type to either the legacy V1 model, or the newer V2 model, which is recommended for better performance.\u003c/p\u003e\n"],["\u003cp\u003eThe class has methods inherited from \u003ccode\u003eObject\u003c/code\u003e such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e, which can be accessed and utilized for manipulation.\u003c/p\u003e\n"],["\u003cp\u003eThe available versions for this object range from 3.7.0 (latest) down to 2.2.0, providing backward compatibility and access to previous model versions.\u003c/p\u003e\n"]]],[],null,[]]