Google Cloud Natural Language v1 API - Class ClassificationModelOptions (3.1.0)

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.

Inheritance

Object > ClassificationModelOptions

Namespace

Google.Cloud.Language.V1

Assembly

Google.Cloud.Language.V1.dll

Constructors

ClassificationModelOptions()

public ClassificationModelOptions()

ClassificationModelOptions(ClassificationModelOptions)

public ClassificationModelOptions(ClassificationModelOptions other)
Parameter
NameDescription
otherClassificationModelOptions

Properties

ModelTypeCase

public ClassificationModelOptions.ModelTypeOneofCase ModelTypeCase { get; }
Property Value
TypeDescription
ClassificationModelOptions.ModelTypeOneofCase

V1Model

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.

Property Value
TypeDescription
ClassificationModelOptions.Types.V1Model

V2Model

public ClassificationModelOptions.Types.V2Model V2Model { get; set; }

Setting this field will use the V2 model with the appropriate content categories version. The V2 model is a better performing model.

Property Value
TypeDescription
ClassificationModelOptions.Types.V2Model