Class EkmServiceGrpc.EkmServiceStub (2.39.0)

public static final class EkmServiceGrpc.EkmServiceStub extends AbstractAsyncStub<EkmServiceGrpc.EkmServiceStub>

A stub to allow clients to do asynchronous rpc calls to service EkmService.

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

  • EkmConnection

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > EkmServiceGrpc.EkmServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected EkmServiceGrpc.EkmServiceStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
EkmServiceGrpc.EkmServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createEkmConnection(CreateEkmConnectionRequest request, StreamObserver<EkmConnection> responseObserver)

public 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 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 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 void listEkmConnections(ListEkmConnectionsRequest request, StreamObserver<ListEkmConnectionsResponse> responseObserver)

Lists EkmConnections.

Parameters
NameDescription
requestListEkmConnectionsRequest
responseObserverio.grpc.stub.StreamObserver<ListEkmConnectionsResponse>

updateEkmConfig(UpdateEkmConfigRequest request, StreamObserver<EkmConfig> responseObserver)

public 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 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 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>