Cloud AI Platform v1beta1 API - Class TextSentimentAnnotation (1.0.0-beta01)

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

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class TextSentimentAnnotation.

Annotation details specific to text sentiment.

Inheritance

object > TextSentimentAnnotation

Namespace

Google.Cloud.AIPlatform.V1Beta1.Schema

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

TextSentimentAnnotation()

public TextSentimentAnnotation()

TextSentimentAnnotation(TextSentimentAnnotation)

public TextSentimentAnnotation(TextSentimentAnnotation other)
Parameter
Name Description
other TextSentimentAnnotation

Properties

AnnotationSpecId

public string AnnotationSpecId { get; set; }

The resource Id of the AnnotationSpec that this Annotation pertains to.

Property Value
Type Description
string

DisplayName

public string DisplayName { get; set; }

The display name of the AnnotationSpec that this Annotation pertains to.

Property Value
Type Description
string

Sentiment

public int Sentiment { get; set; }

The sentiment score for text.

Property Value
Type Description
int

SentimentMax

public int SentimentMax { get; set; }

The sentiment max score for text.

Property Value
Type Description
int