public static void BindService(ServiceBinderBase serviceBinder, DataPolicyService.DataPolicyServiceBase 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\u003eDataPolicyService\u003c/code\u003e class, part of the BigQuery Data Policy v1beta1 API, is used for managing label-policy bindings.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDataPolicyService\u003c/code\u003e class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and provides methods such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e, among others.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e method creates a service definition that can be registered with a server, utilizing a \u003ccode\u003eDataPolicyServiceBase\u003c/code\u003e object for server-side logic handling.\u003c/p\u003e\n"],["\u003cp\u003eAnother overload of the \u003ccode\u003eBindService\u003c/code\u003e method allows for registering service methods with a \u003ccode\u003eServiceBinderBase\u003c/code\u003e, enabling customizable service binding logic.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is 1.0.0-beta04, and 1.0.0-beta03 is also available.\u003c/p\u003e\n"]]],[],null,["# BigQuery Data Policy v1beta1 API - Class DataPolicyService (1.0.0-beta04)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta04 (latest)](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1Beta1/latest/Google.Cloud.BigQuery.DataPolicies.V1Beta1.DataPolicyService)\n- [1.0.0-beta03](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1Beta1/1.0.0-beta03/Google.Cloud.BigQuery.DataPolicies.V1Beta1.DataPolicyService) \n\n public static class DataPolicyService\n\nReference documentation and code samples for the BigQuery Data Policy v1beta1 API class DataPolicyService.\n\nData Policy Service provides APIs for managing the label-policy bindings. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DataPolicyService \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.BigQuery.DataPolicies.V1Beta1](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1Beta1/latest/Google.Cloud.BigQuery.DataPolicies.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.BigQuery.DataPolicies.V1Beta1.dll\n\nMethods\n-------\n\n### BindService(DataPolicyServiceBase)\n\n public static ServerServiceDefinition BindService(DataPolicyService.DataPolicyServiceBase serviceImpl)\n\nCreates service definition that can be registered with a server\n\n### BindService(ServiceBinderBase, DataPolicyServiceBase)\n\n public static void BindService(ServiceBinderBase serviceBinder, DataPolicyService.DataPolicyServiceBase 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."]]