public static void BindService(ServiceBinderBase serviceBinder, DocumentService.DocumentServiceBase 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\u003eThe \u003ccode\u003eDocumentService\u003c/code\u003e class within the Google Cloud Discovery Engine v1beta API facilitates the ingestion of \u003ccode\u003eDocument\u003c/code\u003e information from a customer's website.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDocumentService\u003c/code\u003e inherits from the base \u003ccode\u003eobject\u003c/code\u003e class and includes several inherited members such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e method allows you to create a service definition that can be registered with a server, accepting a \u003ccode\u003eDocumentServiceBase\u003c/code\u003e implementation as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eAnother overload of \u003ccode\u003eBindService\u003c/code\u003e allows for custom binding logic via a \u003ccode\u003eServiceBinderBase\u003c/code\u003e and \u003ccode\u003eDocumentServiceBase\u003c/code\u003e, specifically for registering service methods.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocumentService\u003c/code\u003e is located in the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta\u003c/code\u003e namespace, and is contained within the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1Beta.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class DocumentService (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.DocumentService)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.DocumentService) \n\n public static class DocumentService\n\nReference documentation and code samples for the Discovery Engine v1beta API class DocumentService.\n\nService for ingesting\n\\[Document\\]\\[google.cloud.discoveryengine.v1beta.Document\\] information of the\ncustomer's website. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DocumentService \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(DocumentServiceBase)\n\n public static ServerServiceDefinition BindService(DocumentService.DocumentServiceBase serviceImpl)\n\nCreates service definition that can be registered with a server\n\n### BindService(ServiceBinderBase, DocumentServiceBase)\n\n public static void BindService(ServiceBinderBase serviceBinder, DocumentService.DocumentServiceBase 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."]]