Class EkmService.EkmServiceBase (2.8.0)

[BindServiceMethod(typeof(EkmService), "BindService")]
public abstract class 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
Task<EkmConnection>

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
Task<EkmConnection>

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
Task<ListEkmConnectionsResponse>

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
Task<EkmConnection>

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