[[["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."],[[["\u003cp\u003eThe \u003ccode\u003eGroundedGenerationServiceClientImpl\u003c/code\u003e class is a client wrapper implementation for the GroundedGenerationService within the Discovery Engine v1beta API.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eGroundedGenerationServiceClient\u003c/code\u003e and \u003ccode\u003eobject\u003c/code\u003e, providing methods and properties for interacting with the service, including checking grounding and generating grounded content.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGroundedGenerationServiceClientImpl\u003c/code\u003e class allows users to create instances with a gRPC client, settings, and an optional logger for use within this client.\u003c/p\u003e\n"],["\u003cp\u003eThis client implementation offers synchronous and asynchronous methods, such as \u003ccode\u003eCheckGrounding\u003c/code\u003e and \u003ccode\u003eGenerateGroundedContent\u003c/code\u003e, that allow for the processing and management of grounding checks and content generation.\u003c/p\u003e\n"],["\u003cp\u003eIt also supports streaming for generating grounded content through the \u003ccode\u003eStreamGenerateGroundedContent\u003c/code\u003e method, allowing for a continuous flow of data.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class GroundedGenerationServiceClientImpl (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClientImpl)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClientImpl) \n\n public sealed class GroundedGenerationServiceClientImpl : GroundedGenerationServiceClient\n\nReference documentation and code samples for the Discovery Engine v1beta API class GroundedGenerationServiceClientImpl.\n\nGroundedGenerationService client wrapper implementation, for convenient use. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e [GroundedGenerationServiceClient](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient) \\\u003e GroundedGenerationServiceClientImpl \n\nInherited Members\n-----------------\n\n[GroundedGenerationServiceClient.DefaultEndpoint](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_GroundedGenerationServiceClient_DefaultEndpoint) \n[GroundedGenerationServiceClient.DefaultScopes](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_GroundedGenerationServiceClient_DefaultScopes) \n[GroundedGenerationServiceClient.ServiceMetadata](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_GroundedGenerationServiceClient_ServiceMetadata) \n[GroundedGenerationServiceClient.CreateAsync(CancellationToken)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_GroundedGenerationServiceClient_CreateAsync_System_Threading_CancellationToken_) \n[GroundedGenerationServiceClient.Create()](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_GroundedGenerationServiceClient_Create) \n[GroundedGenerationServiceClient.ShutdownDefaultChannelsAsync()](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_GroundedGenerationServiceClient_ShutdownDefaultChannelsAsync) \n[GroundedGenerationServiceClient.GenerateGroundedContentAsync(GenerateGroundedContentRequest, CancellationToken)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_GroundedGenerationServiceClient_GenerateGroundedContentAsync_Google_Cloud_DiscoveryEngine_V1Beta_GenerateGroundedContentRequest_System_Threading_CancellationToken_) \n[GroundedGenerationServiceClient.CheckGroundingAsync(CheckGroundingRequest, CancellationToken)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_GroundedGenerationServiceClient_CheckGroundingAsync_Google_Cloud_DiscoveryEngine_V1Beta_CheckGroundingRequest_System_Threading_CancellationToken_) \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.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.dll\n\nRemarks\n-------\n\nService for grounded generation.\n\nConstructors\n------------\n\n### GroundedGenerationServiceClientImpl(GroundedGenerationServiceClient, GroundedGenerationServiceSettings, ILogger)\n\n public GroundedGenerationServiceClientImpl(GroundedGenerationService.GroundedGenerationServiceClient grpcClient, GroundedGenerationServiceSettings settings, ILogger logger)\n\nConstructs a client wrapper for the GroundedGenerationService service, with the specified gRPC client and\nsettings.\n\nProperties\n----------\n\n### GrpcClient\n\n public override GroundedGenerationService.GroundedGenerationServiceClient GrpcClient { get; }\n\nThe underlying gRPC GroundedGenerationService client\n\n**Overrides** \n[GroundedGenerationServiceClient.GrpcClient](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_GroundedGenerationServiceClient_GrpcClient)\n\n### LocationsClient\n\n public override LocationsClient LocationsClient { get; }\n\nThe [LocationsClient](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with this client.\n\n**Overrides** \n[GroundedGenerationServiceClient.LocationsClient](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_GroundedGenerationServiceClient_LocationsClient)\n\nMethods\n-------\n\n### CheckGrounding(CheckGroundingRequest, CallSettings)\n\n public override CheckGroundingResponse CheckGrounding(CheckGroundingRequest request, CallSettings callSettings = null)\n\nPerforms a grounding check.\n\n**Overrides** \n[GroundedGenerationServiceClient.CheckGrounding(CheckGroundingRequest, CallSettings)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_GroundedGenerationServiceClient_CheckGrounding_Google_Cloud_DiscoveryEngine_V1Beta_CheckGroundingRequest_Google_Api_Gax_Grpc_CallSettings_)\n\n### CheckGroundingAsync(CheckGroundingRequest, CallSettings)\n\n public override Task\u003cCheckGroundingResponse\u003e CheckGroundingAsync(CheckGroundingRequest request, CallSettings callSettings = null)\n\nPerforms a grounding check.\n\n**Overrides** \n[GroundedGenerationServiceClient.CheckGroundingAsync(CheckGroundingRequest, CallSettings)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_GroundedGenerationServiceClient_CheckGroundingAsync_Google_Cloud_DiscoveryEngine_V1Beta_CheckGroundingRequest_Google_Api_Gax_Grpc_CallSettings_)\n\n### GenerateGroundedContent(GenerateGroundedContentRequest, CallSettings)\n\n public override GenerateGroundedContentResponse GenerateGroundedContent(GenerateGroundedContentRequest request, CallSettings callSettings = null)\n\nGenerates grounded content.\n\n**Overrides** \n[GroundedGenerationServiceClient.GenerateGroundedContent(GenerateGroundedContentRequest, CallSettings)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_GroundedGenerationServiceClient_GenerateGroundedContent_Google_Cloud_DiscoveryEngine_V1Beta_GenerateGroundedContentRequest_Google_Api_Gax_Grpc_CallSettings_)\n\n### GenerateGroundedContentAsync(GenerateGroundedContentRequest, CallSettings)\n\n public override Task\u003cGenerateGroundedContentResponse\u003e GenerateGroundedContentAsync(GenerateGroundedContentRequest request, CallSettings callSettings = null)\n\nGenerates grounded content.\n\n**Overrides** \n[GroundedGenerationServiceClient.GenerateGroundedContentAsync(GenerateGroundedContentRequest, CallSettings)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_GroundedGenerationServiceClient_GenerateGroundedContentAsync_Google_Cloud_DiscoveryEngine_V1Beta_GenerateGroundedContentRequest_Google_Api_Gax_Grpc_CallSettings_)\n\n### StreamGenerateGroundedContent(CallSettings, BidirectionalStreamingSettings)\n\n public override GroundedGenerationServiceClient.StreamGenerateGroundedContentStream StreamGenerateGroundedContent(CallSettings callSettings = null, BidirectionalStreamingSettings streamingSettings = null)\n\nGenerates grounded content in a streaming fashion.\n\n**Overrides** \n[GroundedGenerationServiceClient.StreamGenerateGroundedContent(CallSettings, BidirectionalStreamingSettings)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_GroundedGenerationServiceClient_StreamGenerateGroundedContent_Google_Api_Gax_Grpc_CallSettings_Google_Api_Gax_Grpc_BidirectionalStreamingSettings_)"]]