[[["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\u003eThis page provides reference documentation for the \u003ccode\u003eGroundedGenerationServiceClientImpl\u003c/code\u003e class, a client wrapper implementation for the Discovery Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGroundedGenerationServiceClientImpl\u003c/code\u003e inherits from \u003ccode\u003eGroundedGenerationServiceClient\u003c/code\u003e and offers methods for grounded content generation and grounding checks, such as \u003ccode\u003eCheckGrounding\u003c/code\u003e, \u003ccode\u003eCheckGroundingAsync\u003c/code\u003e, \u003ccode\u003eGenerateGroundedContent\u003c/code\u003e, and \u003ccode\u003eGenerateGroundedContentAsync\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides methods for streaming grounded content via the \u003ccode\u003eStreamGenerateGroundedContent\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eIt supports various versions of the API, with version 1.6.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe constructor for \u003ccode\u003eGroundedGenerationServiceClientImpl\u003c/code\u003e takes a gRPC client, settings, and an optional logger as parameters.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class GroundedGenerationServiceClientImpl (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.GroundedGenerationServiceClientImpl)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClientImpl)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClientImpl)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClientImpl)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClientImpl)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClientImpl)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClientImpl)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClientImpl)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClientImpl)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClientImpl) \n\n public sealed class GroundedGenerationServiceClientImpl : GroundedGenerationServiceClient\n\nReference documentation and code samples for the Discovery Engine v1 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.V1/latest/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient) \\\u003e GroundedGenerationServiceClientImpl \n\nInherited Members\n-----------------\n\n[GroundedGenerationServiceClient.DefaultEndpoint](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1_GroundedGenerationServiceClient_DefaultEndpoint) \n[GroundedGenerationServiceClient.DefaultScopes](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1_GroundedGenerationServiceClient_DefaultScopes) \n[GroundedGenerationServiceClient.ServiceMetadata](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1_GroundedGenerationServiceClient_ServiceMetadata) \n[GroundedGenerationServiceClient.CreateAsync(CancellationToken)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1_GroundedGenerationServiceClient_CreateAsync_System_Threading_CancellationToken_) \n[GroundedGenerationServiceClient.Create()](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1_GroundedGenerationServiceClient_Create) \n[GroundedGenerationServiceClient.ShutdownDefaultChannelsAsync()](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1_GroundedGenerationServiceClient_ShutdownDefaultChannelsAsync) \n[GroundedGenerationServiceClient.GenerateGroundedContentAsync(GenerateGroundedContentRequest, CancellationToken)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1_GroundedGenerationServiceClient_GenerateGroundedContentAsync_Google_Cloud_DiscoveryEngine_V1_GenerateGroundedContentRequest_System_Threading_CancellationToken_) \n[GroundedGenerationServiceClient.CheckGroundingAsync(CheckGroundingRequest, CancellationToken)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1_GroundedGenerationServiceClient_CheckGroundingAsync_Google_Cloud_DiscoveryEngine_V1_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.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.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.V1/latest/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1_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.V1/latest/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1_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.V1/latest/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1_GroundedGenerationServiceClient_CheckGrounding_Google_Cloud_DiscoveryEngine_V1_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.V1/latest/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1_GroundedGenerationServiceClient_CheckGroundingAsync_Google_Cloud_DiscoveryEngine_V1_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.V1/latest/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1_GroundedGenerationServiceClient_GenerateGroundedContent_Google_Cloud_DiscoveryEngine_V1_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.V1/latest/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1_GroundedGenerationServiceClient_GenerateGroundedContentAsync_Google_Cloud_DiscoveryEngine_V1_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.V1/latest/Google.Cloud.DiscoveryEngine.V1.GroundedGenerationServiceClient#Google_Cloud_DiscoveryEngine_V1_GroundedGenerationServiceClient_StreamGenerateGroundedContent_Google_Api_Gax_Grpc_CallSettings_Google_Api_Gax_Grpc_BidirectionalStreamingSettings_)"]]