Google Cloud Key Management Service v1 API - Class EkmService.EkmServiceBase (3.8.0)

[BindServiceMethod(typeof(EkmService), "BindService")]
public abstract class EkmService.EkmServiceBase

Reference documentation and code samples for the Google Cloud Key Management Service v1 API class EkmService.EkmServiceBase.

Base class for server-side implementations of EkmService

Inheritance

object > EkmService.EkmServiceBase

Namespace

Google.Cloud.Kms.V1

Assembly

Google.Cloud.Kms.V1.dll

Methods

CreateEkmConnection(CreateEkmConnectionRequest, ServerCallContext)

public virtual Task<EkmConnection> CreateEkmConnection(CreateEkmConnectionRequest request, ServerCallContext context)

Creates a new [EkmConnection][google.cloud.kms.v1.EkmConnection] in a given Project and Location.

Parameters
NameDescription
requestCreateEkmConnectionRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskEkmConnection

The response to send back to the client (wrapped by a task).

GetEkmConfig(GetEkmConfigRequest, ServerCallContext)

public virtual Task<EkmConfig> GetEkmConfig(GetEkmConfigRequest request, ServerCallContext context)

Returns the [EkmConfig][google.cloud.kms.v1.EkmConfig] singleton resource for a given project and location.

Parameters
NameDescription
requestGetEkmConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskEkmConfig

The response to send back to the client (wrapped by a task).

GetEkmConnection(GetEkmConnectionRequest, ServerCallContext)

public virtual Task<EkmConnection> GetEkmConnection(GetEkmConnectionRequest request, ServerCallContext context)

Returns metadata for a given [EkmConnection][google.cloud.kms.v1.EkmConnection].

Parameters
NameDescription
requestGetEkmConnectionRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskEkmConnection

The response to send back to the client (wrapped by a task).

ListEkmConnections(ListEkmConnectionsRequest, ServerCallContext)

public virtual Task<ListEkmConnectionsResponse> ListEkmConnections(ListEkmConnectionsRequest request, ServerCallContext context)

Lists [EkmConnections][google.cloud.kms.v1.EkmConnection].

Parameters
NameDescription
requestListEkmConnectionsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListEkmConnectionsResponse

The response to send back to the client (wrapped by a task).

UpdateEkmConfig(UpdateEkmConfigRequest, ServerCallContext)

public virtual Task<EkmConfig> UpdateEkmConfig(UpdateEkmConfigRequest request, ServerCallContext context)

Updates the [EkmConfig][google.cloud.kms.v1.EkmConfig] singleton resource for a given project and location.

Parameters
NameDescription
requestUpdateEkmConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskEkmConfig

The response to send back to the client (wrapped by a task).

UpdateEkmConnection(UpdateEkmConnectionRequest, ServerCallContext)

public virtual Task<EkmConnection> UpdateEkmConnection(UpdateEkmConnectionRequest request, ServerCallContext context)

Updates an [EkmConnection][google.cloud.kms.v1.EkmConnection]'s metadata.

Parameters
NameDescription
requestUpdateEkmConnectionRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskEkmConnection

The response to send back to the client (wrapped by a task).

VerifyConnectivity(VerifyConnectivityRequest, ServerCallContext)

public virtual Task<VerifyConnectivityResponse> VerifyConnectivity(VerifyConnectivityRequest request, ServerCallContext context)

Verifies that Cloud KMS can successfully connect to the external key manager specified by an [EkmConnection][google.cloud.kms.v1.EkmConnection]. If there is an error connecting to the EKM, this method returns a FAILED_PRECONDITION status containing structured information as described at https://cloud.google.com/kms/docs/reference/ekm_errors.

Parameters
NameDescription
requestVerifyConnectivityRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskVerifyConnectivityResponse

The response to send back to the client (wrapped by a task).