public abstract class GroundedGenerationServiceClient.StreamGenerateGroundedContentStream : BidirectionalStreamingBase<GenerateGroundedContentRequest, GenerateGroundedContentResponse>, IDisposable
Reference documentation and code samples for the Discovery Engine v1 API class GroundedGenerationServiceClient.StreamGenerateGroundedContentStream.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThis documentation covers the \u003ccode\u003eGroundedGenerationServiceClient.StreamGenerateGroundedContentStream\u003c/code\u003e class, part of the Discovery Engine v1 API, providing reference information and code samples.\u003c/p\u003e\n"],["\u003cp\u003eThe class supports bidirectional streaming methods using \u003ccode\u003eStreamGenerateGroundedContent\u003c/code\u003e, allowing for interaction through \u003ccode\u003eGenerateGroundedContentRequest\u003c/code\u003e and \u003ccode\u003eGenerateGroundedContentResponse\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt is the most up to date documentation and has versioning, which includes the latest being \u003ca href=\"/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient.StreamGenerateGroundedContentStream\"\u003e1.6.0\u003c/a\u003e with prior versions listed.\u003c/p\u003e\n"],["\u003cp\u003eIt implements \u003ccode\u003eIDisposable\u003c/code\u003e and inherits members from \u003ccode\u003eBidirectionalStreamingBase\u003c/code\u003e, including methods for managing the stream, such as \u003ccode\u003eTryWriteAsync\u003c/code\u003e, \u003ccode\u003eWriteAsync\u003c/code\u003e, \u003ccode\u003eTryWriteCompleteAsync\u003c/code\u003e, and \u003ccode\u003eWriteCompleteAsync\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class GroundedGenerationServiceClient.StreamGenerateGroundedContentStream (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.GroundedGenerationServiceClient.StreamGenerateGroundedContentStream)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient.StreamGenerateGroundedContentStream)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient.StreamGenerateGroundedContentStream)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient.StreamGenerateGroundedContentStream)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient.StreamGenerateGroundedContentStream)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient.StreamGenerateGroundedContentStream)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient.StreamGenerateGroundedContentStream)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient.StreamGenerateGroundedContentStream)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient.StreamGenerateGroundedContentStream)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient.StreamGenerateGroundedContentStream) \n\n public abstract class GroundedGenerationServiceClient.StreamGenerateGroundedContentStream : BidirectionalStreamingBase\u003cGenerateGroundedContentRequest, GenerateGroundedContentResponse\u003e, IDisposable\n\nReference documentation and code samples for the Discovery Engine v1 API class GroundedGenerationServiceClient.StreamGenerateGroundedContentStream.\n\nBidirectional streaming methods for\n[StreamGenerateGroundedContent(CallSettings, BidirectionalStreamingSettings)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1_GroundedGenerationServiceClient_StreamGenerateGroundedContent_Google_Api_Gax_Grpc_CallSettings_Google_Api_Gax_Grpc_BidirectionalStreamingSettings_). \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e [BidirectionalStreamingBase](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingBase-2.html)[GenerateGroundedContentRequest](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.GenerateGroundedContentRequest)[GenerateGroundedContentResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.GenerateGroundedContentResponse) \\\u003e GroundedGenerationServiceClient.StreamGenerateGroundedContentStream \n\nImplements\n----------\n\n[IDisposable](https://learn.microsoft.com/dotnet/api/system.idisposable) \n\nInherited Members\n-----------------\n\n[BidirectionalStreamingBase\\\u003cGenerateGroundedContentRequest, GenerateGroundedContentResponse\\\u003e.TryWriteAsync(GenerateGroundedContentRequest)](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingBase-2.html#Google_Api_Gax_Grpc_BidirectionalStreamingBase_2_TryWriteAsync__0_) \n[BidirectionalStreamingBase\\\u003cGenerateGroundedContentRequest, GenerateGroundedContentResponse\\\u003e.WriteAsync(GenerateGroundedContentRequest)](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingBase-2.html#Google_Api_Gax_Grpc_BidirectionalStreamingBase_2_WriteAsync__0_) \n[BidirectionalStreamingBase\\\u003cGenerateGroundedContentRequest, GenerateGroundedContentResponse\\\u003e.TryWriteAsync(GenerateGroundedContentRequest, WriteOptions)](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingBase-2.html#Google_Api_Gax_Grpc_BidirectionalStreamingBase_2_TryWriteAsync__0_Grpc_Core_WriteOptions_) \n[BidirectionalStreamingBase\\\u003cGenerateGroundedContentRequest, GenerateGroundedContentResponse\\\u003e.WriteAsync(GenerateGroundedContentRequest, WriteOptions)](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingBase-2.html#Google_Api_Gax_Grpc_BidirectionalStreamingBase_2_WriteAsync__0_Grpc_Core_WriteOptions_) \n[BidirectionalStreamingBase\\\u003cGenerateGroundedContentRequest, GenerateGroundedContentResponse\\\u003e.TryWriteCompleteAsync()](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingBase-2.html#Google_Api_Gax_Grpc_BidirectionalStreamingBase_2_TryWriteCompleteAsync) \n[BidirectionalStreamingBase\\\u003cGenerateGroundedContentRequest, GenerateGroundedContentResponse\\\u003e.WriteCompleteAsync()](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingBase-2.html#Google_Api_Gax_Grpc_BidirectionalStreamingBase_2_WriteCompleteAsync) \n[BidirectionalStreamingBase\\\u003cGenerateGroundedContentRequest, GenerateGroundedContentResponse\\\u003e.GetResponseStream()](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingBase-2.html#Google_Api_Gax_Grpc_BidirectionalStreamingBase_2_GetResponseStream) \n[BidirectionalStreamingBase\\\u003cGenerateGroundedContentRequest, GenerateGroundedContentResponse\\\u003e.Dispose()](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingBase-2.html#Google_Api_Gax_Grpc_BidirectionalStreamingBase_2_Dispose) \n[BidirectionalStreamingBase\\\u003cGenerateGroundedContentRequest, GenerateGroundedContentResponse\\\u003e.GrpcCall](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingBase-2.html#Google_Api_Gax_Grpc_BidirectionalStreamingBase_2_GrpcCall) \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.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \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"]]