Google Cloud Natural Language v1 API - Class ClassificationModelOptions (3.6.0-alpha01)

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
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
TypeDescription
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
TypeDescription
ClassificationModelOptionsTypesV2Model