public static class SecretManagerService
Reference documentation and code samples for the Secret Manager v1 API class SecretManagerService.
Secret Manager Service
Manages secrets and operations using those secrets. Implements a REST model with the following objects:
- [Secret][google.cloud.secretmanager.v1.Secret]
- [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]
Namespace
Google.Cloud.SecretManager.V1Assembly
Google.Cloud.SecretManager.V1.dll
Methods
BindService(SecretManagerServiceBase)
public static ServerServiceDefinition BindService(SecretManagerService.SecretManagerServiceBase serviceImpl)
Creates service definition that can be registered with a server
Parameter | |
---|---|
Name | Description |
serviceImpl |
SecretManagerServiceSecretManagerServiceBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
ServerServiceDefinition |
BindService(ServiceBinderBase, SecretManagerServiceBase)
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.
Parameters | |
---|---|
Name | Description |
serviceBinder |
ServiceBinderBase Service methods will be bound by calling |
serviceImpl |
SecretManagerServiceSecretManagerServiceBase An object implementing the server-side handling logic. |