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 in the Google.Cloud.BigQuery.DataPolicies.V1 API provides methods for managing label-policy bindings.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eDataPolicyService\u003c/code\u003e API is 1.5.0, with previous versions available ranging from 1.0.0 to 1.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and includes 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 is available to create service definitions that can be registered with a server, and it can also be used to register service methods with or without implementation.\u003c/p\u003e\n"],["\u003cp\u003eThe API class \u003ccode\u003eDataPolicyService\u003c/code\u003e is located in the namespace \u003ccode\u003eGoogle.Cloud.BigQuery.DataPolicies.V1\u003c/code\u003e and is part of the \u003ccode\u003eGoogle.Cloud.BigQuery.DataPolicies.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# BigQuery Data Policy v1 API - Class DataPolicyService (1.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1/latest/Google.Cloud.BigQuery.DataPolicies.V1.DataPolicyService)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1/1.4.0/Google.Cloud.BigQuery.DataPolicies.V1.DataPolicyService)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1/1.3.0/Google.Cloud.BigQuery.DataPolicies.V1.DataPolicyService)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1/1.2.0/Google.Cloud.BigQuery.DataPolicies.V1.DataPolicyService)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1/1.1.0/Google.Cloud.BigQuery.DataPolicies.V1.DataPolicyService)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1/1.0.0/Google.Cloud.BigQuery.DataPolicies.V1.DataPolicyService) \n\n public static class DataPolicyService\n\nReference documentation and code samples for the BigQuery Data Policy v1 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.V1](/dotnet/docs/reference/Google.Cloud.BigQuery.DataPolicies.V1/latest/Google.Cloud.BigQuery.DataPolicies.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.BigQuery.DataPolicies.V1.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."]]