Cloud AI Platform v1 API - Class TextSentimentPredictionInstance (2.27.0)

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

Reference documentation and code samples for the Cloud AI Platform v1 API class TextSentimentPredictionInstance.

Prediction input format for Text Sentiment.

Inheritance

object > TextSentimentPredictionInstance

Namespace

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

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

TextSentimentPredictionInstance()

public TextSentimentPredictionInstance()

TextSentimentPredictionInstance(TextSentimentPredictionInstance)

public TextSentimentPredictionInstance(TextSentimentPredictionInstance other)
Parameter
NameDescription
otherTextSentimentPredictionInstance

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