public static void BindService(ServiceBinderBase serviceBinder, SecretManagerService.SecretManagerServiceBase 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-08-07 UTC."],[[["\u003cp\u003eThis documentation covers the \u003ccode\u003eSecretManagerService\u003c/code\u003e class, which is part of the Secret Manager v1beta2 API within the \u003ccode\u003eGoogle.Cloud.SecretManager.V1Beta2\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecretManagerService\u003c/code\u003e class manages secrets and operations, using a REST model with \u003ccode\u003eSecret\u003c/code\u003e and \u003ccode\u003eSecretVersion\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 1.0.0-beta03, and version 1.0.0-beta02 is also available.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two static \u003ccode\u003eBindService\u003c/code\u003e methods to create or register service definitions with a server or a service binder, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecretManagerService\u003c/code\u003e class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and includes inherited members like \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"]]],[],null,["# Secret Manager v1beta2 API - Class SecretManagerService (1.0.0-beta03)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta03 (latest)](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2.SecretManagerService)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/1.0.0-beta02/Google.Cloud.SecretManager.V1Beta2.SecretManagerService) \n\n public static class SecretManagerService\n\nReference documentation and code samples for the Secret Manager v1beta2 API class SecretManagerService.\n\nSecret Manager Service\n\nManages secrets and operations using those secrets. Implements a REST\nmodel with the following objects:\n\n- \\[Secret\\]\\[google.cloud.secretmanager.v1beta2.Secret\\]\n- \\[SecretVersion\\]\\[google.cloud.secretmanager.v1beta2.SecretVersion\\] \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SecretManagerService \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.SecretManager.V1Beta2](/dotnet/docs/reference/Google.Cloud.SecretManager.V1Beta2/latest/Google.Cloud.SecretManager.V1Beta2)\n\nAssembly\n--------\n\nGoogle.Cloud.SecretManager.V1Beta2.dll\n\nMethods\n-------\n\n### BindService(SecretManagerServiceBase)\n\n public static ServerServiceDefinition BindService(SecretManagerService.SecretManagerServiceBase serviceImpl)\n\nCreates service definition that can be registered with a server\n\n### BindService(ServiceBinderBase, SecretManagerServiceBase)\n\n public static void BindService(ServiceBinderBase serviceBinder, SecretManagerService.SecretManagerServiceBase 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."]]