public static void BindService(ServiceBinderBase serviceBinder, GroundedGenerationService.GroundedGenerationServiceBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
[[["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 document provides reference documentation for the \u003ccode\u003eGroundedGenerationService\u003c/code\u003e class within the Discovery Engine v1beta API, specifically the latest version, 1.0.0-beta18.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGroundedGenerationService\u003c/code\u003e is a static class that serves as part of the API, supporting grounded generation functionality, and inheriting members from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this class is \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta\u003c/code\u003e, and it is located within the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two \u003ccode\u003eBindService\u003c/code\u003e methods, one of which creates a service definition, and the other registers service methods to customize the service binding logic.\u003c/p\u003e\n"],["\u003cp\u003eThere is an experimental API with one of the methods, \u003ccode\u003eBindService(ServiceBinderBase, GroundedGenerationServiceBase)\u003c/code\u003e, that is subject to change or removal.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class GroundedGenerationService (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.GroundedGenerationService)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationService) \n\n public static class GroundedGenerationService\n\nReference documentation and code samples for the Discovery Engine v1beta API class GroundedGenerationService.\n\nService for grounded generation. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GroundedGenerationService \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.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.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.dll\n\nMethods\n-------\n\n### BindService(GroundedGenerationServiceBase)\n\n public static ServerServiceDefinition BindService(GroundedGenerationService.GroundedGenerationServiceBase serviceImpl)\n\nCreates service definition that can be registered with a server\n\n### BindService(ServiceBinderBase, GroundedGenerationServiceBase)\n\n public static void BindService(ServiceBinderBase serviceBinder, GroundedGenerationService.GroundedGenerationServiceBase serviceImpl)\n\nRegister service method with a service binder with or without implementation. Useful when customizing the service binding logic.\nNote: this method is part of an experimental API that can change or be removed without any prior notice."]]