Class SentimentData (1.3.0)

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

The data for a sentiment annotation.

Inheritance

Object > SentimentData

Namespace

Google.Cloud.ContactCenterInsights.V1

Assembly

Google.Cloud.ContactCenterInsights.V1.dll

Constructors

SentimentData()

public SentimentData()

SentimentData(SentimentData)

public SentimentData(SentimentData other)
Parameter
NameDescription
otherSentimentData

Properties

Magnitude

public float Magnitude { get; set; }

A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score.

Property Value
TypeDescription
Single

Score

public float Score { get; set; }

The sentiment score between -1.0 (negative) and 1.0 (positive).

Property Value
TypeDescription
Single