public sealed class AnalyzeSentimentRequest : IMessage<AnalyzeSentimentRequest>, IEquatable<AnalyzeSentimentRequest>, IDeepCloneable<AnalyzeSentimentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Natural Language v2 API class AnalyzeSentimentRequest.
The sentiment analysis request message.
Implements
IMessageAnalyzeSentimentRequest, IEquatableAnalyzeSentimentRequest, IDeepCloneableAnalyzeSentimentRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Language.V2Assembly
Google.Cloud.Language.V2.dll
Constructors
AnalyzeSentimentRequest()
public AnalyzeSentimentRequest()
AnalyzeSentimentRequest(AnalyzeSentimentRequest)
public AnalyzeSentimentRequest(AnalyzeSentimentRequest other)
Parameter | |
---|---|
Name | Description |
other |
AnalyzeSentimentRequest |
Properties
Document
public Document Document { get; set; }
Required. Input document.
Property Value | |
---|---|
Type | Description |
Document |
EncodingType
public EncodingType EncodingType { get; set; }
The encoding type used by the API to calculate sentence offsets.
Property Value | |
---|---|
Type | Description |
EncodingType |