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.
Implements
IMessageClassificationModelOptions, IEquatableClassificationModelOptions, IDeepCloneableClassificationModelOptions, IBufferMessage, IMessageNamespace
Google.Cloud.Language.V1Assembly
Google.Cloud.Language.V1.dll
Constructors
ClassificationModelOptions()
public ClassificationModelOptions()
ClassificationModelOptions(ClassificationModelOptions)
public ClassificationModelOptions(ClassificationModelOptions other)
Parameter | |
---|---|
Name | Description |
other | ClassificationModelOptions |
Properties
ModelTypeCase
public ClassificationModelOptions.ModelTypeOneofCase ModelTypeCase { get; }
Property Value | |
---|---|
Type | Description |
ClassificationModelOptionsModelTypeOneofCase |
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 | |
---|---|
Type | Description |
ClassificationModelOptionsTypesV1Model |
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 | |
---|---|
Type | Description |
ClassificationModelOptionsTypesV2Model |