Secret Manager v1 API - Class SecretManagerService (2.1.0)

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]

Inheritance

Object > SecretManagerService

Namespace

Google.Cloud.SecretManager.V1

Assembly

Google.Cloud.SecretManager.V1.dll

Methods

BindService(SecretManagerService.SecretManagerServiceBase)

public static ServerServiceDefinition BindService(SecretManagerService.SecretManagerServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplSecretManagerService.SecretManagerServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, SecretManagerService.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
NameDescription
serviceBinderServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplSecretManagerService.SecretManagerServiceBase

An object implementing the server-side handling logic.