Interface EkmServiceGrpc.AsyncService (2.48.0)

public static interface EkmServiceGrpc.AsyncService

Google Cloud Key Management EKM Service Manages external cryptographic keys and operations using those keys. Implements a REST model with the following objects:

  • EkmConnection

Methods

createEkmConnection(CreateEkmConnectionRequest request, StreamObserver<EkmConnection> responseObserver)

public default void createEkmConnection(CreateEkmConnectionRequest request, StreamObserver<EkmConnection> responseObserver)

Creates a new EkmConnection in a given Project and Location.

Parameters
Name Description
request CreateEkmConnectionRequest
responseObserver io.grpc.stub.StreamObserver<EkmConnection>

getEkmConfig(GetEkmConfigRequest request, StreamObserver<EkmConfig> responseObserver)

public default void getEkmConfig(GetEkmConfigRequest request, StreamObserver<EkmConfig> responseObserver)

Returns the EkmConfig singleton resource for a given project and location.

Parameters
Name Description
request GetEkmConfigRequest
responseObserver io.grpc.stub.StreamObserver<EkmConfig>

getEkmConnection(GetEkmConnectionRequest request, StreamObserver<EkmConnection> responseObserver)

public default void getEkmConnection(GetEkmConnectionRequest request, StreamObserver<EkmConnection> responseObserver)

Returns metadata for a given EkmConnection.

Parameters
Name Description
request GetEkmConnectionRequest
responseObserver io.grpc.stub.StreamObserver<EkmConnection>

listEkmConnections(ListEkmConnectionsRequest request, StreamObserver<ListEkmConnectionsResponse> responseObserver)

public default void listEkmConnections(ListEkmConnectionsRequest request, StreamObserver<ListEkmConnectionsResponse> responseObserver)

Lists EkmConnections.

Parameters
Name Description
request ListEkmConnectionsRequest
responseObserver io.grpc.stub.StreamObserver<ListEkmConnectionsResponse>

updateEkmConfig(UpdateEkmConfigRequest request, StreamObserver<EkmConfig> responseObserver)

public default void updateEkmConfig(UpdateEkmConfigRequest request, StreamObserver<EkmConfig> responseObserver)

Updates the EkmConfig singleton resource for a given project and location.

Parameters
Name Description
request UpdateEkmConfigRequest
responseObserver io.grpc.stub.StreamObserver<EkmConfig>

updateEkmConnection(UpdateEkmConnectionRequest request, StreamObserver<EkmConnection> responseObserver)

public default void updateEkmConnection(UpdateEkmConnectionRequest request, StreamObserver<EkmConnection> responseObserver)

Updates an EkmConnection's metadata.

Parameters
Name Description
request UpdateEkmConnectionRequest
responseObserver io.grpc.stub.StreamObserver<EkmConnection>

verifyConnectivity(VerifyConnectivityRequest request, StreamObserver<VerifyConnectivityResponse> responseObserver)

public default void verifyConnectivity(VerifyConnectivityRequest request, StreamObserver<VerifyConnectivityResponse> responseObserver)

Verifies that Cloud KMS can successfully connect to the external key manager specified by an 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
Name Description
request VerifyConnectivityRequest
responseObserver io.grpc.stub.StreamObserver<VerifyConnectivityResponse>