Class AnalyzeSentimentRequest (3.0.0)

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

The sentiment analysis request message.

Inheritance

Object > AnalyzeSentimentRequest

Namespace

Google.Cloud.Language.V1

Assembly

Google.Cloud.Language.V1.dll

Constructors

AnalyzeSentimentRequest()

public AnalyzeSentimentRequest()

AnalyzeSentimentRequest(AnalyzeSentimentRequest)

public AnalyzeSentimentRequest(AnalyzeSentimentRequest other)
Parameter
NameDescription
otherAnalyzeSentimentRequest

Properties

Document

public Document Document { get; set; }

Input document.

Property Value
TypeDescription
Document

EncodingType

public EncodingType EncodingType { get; set; }

The encoding type used by the API to calculate sentence offsets.

Property Value
TypeDescription
EncodingType