public static void BindService(ServiceBinderBase serviceBinder, ConfigServiceV2.ConfigServiceV2Base 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"]],[["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-09-09 UTC."],[[["\u003cp\u003eThe latest version of the Google Cloud Logging v2 API's \u003ccode\u003eConfigServiceV2\u003c/code\u003e class is version 4.4.0, with previous versions available, dating back to version 3.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eConfigServiceV2\u003c/code\u003e is a service class responsible for configuring sinks that route log entries in the Google Cloud Logging v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eConfigServiceV2\u003c/code\u003e, inherits from the .NET \u003ccode\u003eobject\u003c/code\u003e class, and it offers methods such as \u003ccode\u003eBindService\u003c/code\u003e for creating service definitions and binding service implementations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e method provides functionality to register the service methods with a service binder, allowing customization of service binding logic, and is considered an experimental API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eConfigServiceV2\u003c/code\u003e is part of the \u003ccode\u003eGoogle.Cloud.Logging.V2\u003c/code\u003e namespace and is contained in the \u003ccode\u003eGoogle.Cloud.Logging.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Logging v2 API - Class ConfigServiceV2 (4.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [4.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2.ConfigServiceV2)\n- [4.3.0](/dotnet/docs/reference/Google.Cloud.Logging.V2/4.3.0/Google.Cloud.Logging.V2.ConfigServiceV2)\n- [4.2.0](/dotnet/docs/reference/Google.Cloud.Logging.V2/4.2.0/Google.Cloud.Logging.V2.ConfigServiceV2)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.Logging.V2/4.1.0/Google.Cloud.Logging.V2.ConfigServiceV2)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Logging.V2/4.0.0/Google.Cloud.Logging.V2.ConfigServiceV2)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Logging.V2/3.6.0/Google.Cloud.Logging.V2.ConfigServiceV2)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Logging.V2/3.5.0/Google.Cloud.Logging.V2.ConfigServiceV2)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Logging.V2/3.4.0/Google.Cloud.Logging.V2.ConfigServiceV2)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Logging.V2/3.3.0/Google.Cloud.Logging.V2.ConfigServiceV2) \n\n public static class ConfigServiceV2\n\nReference documentation and code samples for the Google Cloud Logging v2 API class ConfigServiceV2.\n\nService for configuring sinks used to route log entries. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ConfigServiceV2 \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.Logging.V2](/dotnet/docs/reference/Google.Cloud.Logging.V2/latest/Google.Cloud.Logging.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Logging.V2.dll\n\nMethods\n-------\n\n### BindService(ConfigServiceV2Base)\n\n public static ServerServiceDefinition BindService(ConfigServiceV2.ConfigServiceV2Base serviceImpl)\n\nCreates service definition that can be registered with a server\n\n### BindService(ServiceBinderBase, ConfigServiceV2Base)\n\n public static void BindService(ServiceBinderBase serviceBinder, ConfigServiceV2.ConfigServiceV2Base 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."]]