For calls to [AnalyzeSentiment][] or if
[AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment]
is set to true, this field will contain the sentiment for the sentence.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Google Cloud Natural Language v1 API - Class Sentence (3.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.Sentence)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Language.V1/3.6.0/Google.Cloud.Language.V1.Sentence)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Language.V1/3.5.0/Google.Cloud.Language.V1.Sentence)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Language.V1/3.4.0/Google.Cloud.Language.V1.Sentence)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Language.V1/3.3.0/Google.Cloud.Language.V1.Sentence)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Language.V1/3.2.0/Google.Cloud.Language.V1.Sentence)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Language.V1/3.1.0/Google.Cloud.Language.V1.Sentence)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Language.V1/3.0.0/Google.Cloud.Language.V1.Sentence)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Language.V1/2.3.0/Google.Cloud.Language.V1.Sentence)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Language.V1/2.2.0/Google.Cloud.Language.V1.Sentence) \n\n public sealed class Sentence : IMessage\u003cSentence\u003e, IEquatable\u003cSentence\u003e, IDeepCloneable\u003cSentence\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Natural Language v1 API class Sentence.\n\nRepresents a sentence in the input document. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Sentence \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Sentence](/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.Sentence), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Sentence](/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.Sentence), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Sentence](/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1.Sentence), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Language.V1](/dotnet/docs/reference/Google.Cloud.Language.V1/latest/Google.Cloud.Language.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Language.V1.dll\n\nConstructors\n------------\n\n### Sentence()\n\n public Sentence()\n\n### Sentence(Sentence)\n\n public Sentence(Sentence other)\n\nProperties\n----------\n\n### Sentiment\n\n public Sentiment Sentiment { get; set; }\n\nFor calls to \\[AnalyzeSentiment\\]\\[\\] or if\n\\[AnnotateTextRequest.Features.extract_document_sentiment\\]\\[google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment\\]\nis set to true, this field will contain the sentiment for the sentence.\n\n### Text\n\n public TextSpan Text { get; set; }\n\nThe sentence text."]]