public sealed class StreamAssistResponse : IMessage<StreamAssistResponse>, IEquatable<StreamAssistResponse>, IDeepCloneable<StreamAssistResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class StreamAssistResponse.
Response for the
[AssistantService.StreamAssist][google.cloud.discoveryengine.v1.AssistantService.StreamAssist]
method.
Assist answer resource object containing parts of the assistant's final
answer for the user's query.
Not present if the current response doesn't add anything to previously
sent
[AssistAnswer.replies][google.cloud.discoveryengine.v1.AssistAnswer.replies].
Observe
[AssistAnswer.state][google.cloud.discoveryengine.v1.AssistAnswer.state] to
see if more parts are to be expected. While the state is IN_PROGRESS, the
[AssistAnswer.replies][google.cloud.discoveryengine.v1.AssistAnswer.replies]
field in each response will contain replies (reply fragments) to be
appended to the ones received in previous responses. [AssistAnswer.name][]
won't be filled.
If the state is SUCCEEDED, FAILED or SKIPPED, the response
is the last response and [AssistAnswer.name][] will have a value.
[[["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,["# Discovery Engine v1 API - Class StreamAssistResponse (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.StreamAssistResponse)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.StreamAssistResponse)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.StreamAssistResponse)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.StreamAssistResponse)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.StreamAssistResponse)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.StreamAssistResponse)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.StreamAssistResponse)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.StreamAssistResponse)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.StreamAssistResponse)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.StreamAssistResponse) \n\n public sealed class StreamAssistResponse : IMessage\u003cStreamAssistResponse\u003e, IEquatable\u003cStreamAssistResponse\u003e, IDeepCloneable\u003cStreamAssistResponse\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class StreamAssistResponse.\n\nResponse for the\n\\[AssistantService.StreamAssist\\]\\[google.cloud.discoveryengine.v1.AssistantService.StreamAssist\\]\nmethod. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e StreamAssistResponse \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[StreamAssistResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.StreamAssistResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[StreamAssistResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.StreamAssistResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[StreamAssistResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.StreamAssistResponse), [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.DiscoveryEngine.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.dll\n\nConstructors\n------------\n\n### StreamAssistResponse()\n\n public StreamAssistResponse()\n\n### StreamAssistResponse(StreamAssistResponse)\n\n public StreamAssistResponse(StreamAssistResponse other)\n\nProperties\n----------\n\n### Answer\n\n public AssistAnswer Answer { get; set; }\n\nAssist answer resource object containing parts of the assistant's final\nanswer for the user's query.\n\nNot present if the current response doesn't add anything to previously\nsent\n\\[AssistAnswer.replies\\]\\[google.cloud.discoveryengine.v1.AssistAnswer.replies\\].\n\nObserve\n\\[AssistAnswer.state\\]\\[google.cloud.discoveryengine.v1.AssistAnswer.state\\] to\nsee if more parts are to be expected. While the state is `IN_PROGRESS`, the\n\\[AssistAnswer.replies\\]\\[google.cloud.discoveryengine.v1.AssistAnswer.replies\\]\nfield in each response will contain replies (reply fragments) to be\nappended to the ones received in previous responses. \\[AssistAnswer.name\\]\\[\\]\nwon't be filled.\n\nIf the state is `SUCCEEDED`, `FAILED` or `SKIPPED`, the response\nis the last response and \\[AssistAnswer.name\\]\\[\\] will have a value.\n\n### AssistToken\n\n public string AssistToken { get; set; }\n\nA global unique ID that identifies the current pair of request and stream\nof responses. Used for feedback and support.\n\n### SessionInfo\n\n public StreamAssistResponse.Types.SessionInfo SessionInfo { get; set; }\n\nSession information."]]