Class TextClassificationPredictionInstance (2.0.0)

public sealed class TextClassificationPredictionInstance : IMessage<TextClassificationPredictionInstance>, IEquatable<TextClassificationPredictionInstance>, IDeepCloneable<TextClassificationPredictionInstance>, IBufferMessage, IMessage

Prediction input format for Text Classification.

Inheritance

Object > TextClassificationPredictionInstance

Namespace

Google.Cloud.AIPlatform.V1.Schema.Predict.Instance

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

TextClassificationPredictionInstance()

public TextClassificationPredictionInstance()

TextClassificationPredictionInstance(TextClassificationPredictionInstance)

public TextClassificationPredictionInstance(TextClassificationPredictionInstance other)
Parameter
NameDescription
otherTextClassificationPredictionInstance

Properties

Content

public string Content { get; set; }

The text snippet to make the predictions on.

Property Value
TypeDescription
String

MimeType

public string MimeType { get; set; }

The MIME type of the text snippet. The supported MIME types are listed below.

  • text/plain
Property Value
TypeDescription
String