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 document provides reference documentation for the \u003ccode\u003eClassificationModelOptions\u003c/code\u003e class within the Google Cloud Natural Language v1 API, specifically for version 3.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eClassificationModelOptions\u003c/code\u003e class offers two distinct model options for classification requests: \u003ccode\u003eV1Model\u003c/code\u003e and \u003ccode\u003eV2Model\u003c/code\u003e, with the latter offering better performance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eV1Model\u003c/code\u003e is considered a legacy model and will be discontinued in the future, while \u003ccode\u003eV2Model\u003c/code\u003e is the better performing model with appropriate content categories.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eClassificationModelOptions\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several 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\u003eThis documentation also provides previous versions of this feature, going back as far as 2.2.0, with the latest being 3.7.0.\u003c/p\u003e\n"]]],[],null,[]]