Interface EkmServiceGrpc.AsyncService (2.24.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
NameDescription
requestCreateEkmConnectionRequest
responseObserverio.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
NameDescription
requestGetEkmConfigRequest
responseObserverio.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
NameDescription
requestGetEkmConnectionRequest
responseObserverio.grpc.stub.StreamObserver<EkmConnection>

listEkmConnections(ListEkmConnectionsRequest request, StreamObserver<ListEkmConnectionsResponse> responseObserver)

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

Lists EkmConnections.

Parameters
NameDescription
requestListEkmConnectionsRequest
responseObserverio.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
NameDescription
requestUpdateEkmConfigRequest
responseObserverio.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
NameDescription
requestUpdateEkmConnectionRequest
responseObserverio.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
NameDescription
requestVerifyConnectivityRequest
responseObserverio.grpc.stub.StreamObserver<VerifyConnectivityResponse>