Class EkmServiceGrpc.EkmServiceBlockingStub (2.35.0)

public static final class EkmServiceGrpc.EkmServiceBlockingStub extends AbstractBlockingStub<EkmServiceGrpc.EkmServiceBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > EkmServiceGrpc.EkmServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

createEkmConnection(CreateEkmConnectionRequest request)

public EkmConnection createEkmConnection(CreateEkmConnectionRequest request)

Creates a new EkmConnection in a given Project and Location.

Parameter
NameDescription
requestCreateEkmConnectionRequest
Returns
TypeDescription
EkmConnection

getEkmConfig(GetEkmConfigRequest request)

public EkmConfig getEkmConfig(GetEkmConfigRequest request)

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

Parameter
NameDescription
requestGetEkmConfigRequest
Returns
TypeDescription
EkmConfig

getEkmConnection(GetEkmConnectionRequest request)

public EkmConnection getEkmConnection(GetEkmConnectionRequest request)

Returns metadata for a given EkmConnection.

Parameter
NameDescription
requestGetEkmConnectionRequest
Returns
TypeDescription
EkmConnection

listEkmConnections(ListEkmConnectionsRequest request)

public ListEkmConnectionsResponse listEkmConnections(ListEkmConnectionsRequest request)

Lists EkmConnections.

Parameter
NameDescription
requestListEkmConnectionsRequest
Returns
TypeDescription
ListEkmConnectionsResponse

updateEkmConfig(UpdateEkmConfigRequest request)

public EkmConfig updateEkmConfig(UpdateEkmConfigRequest request)

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

Parameter
NameDescription
requestUpdateEkmConfigRequest
Returns
TypeDescription
EkmConfig

updateEkmConnection(UpdateEkmConnectionRequest request)

public EkmConnection updateEkmConnection(UpdateEkmConnectionRequest request)

Updates an EkmConnection's metadata.

Parameter
NameDescription
requestUpdateEkmConnectionRequest
Returns
TypeDescription
EkmConnection

verifyConnectivity(VerifyConnectivityRequest request)

public VerifyConnectivityResponse verifyConnectivity(VerifyConnectivityRequest request)

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.

Parameter
NameDescription
requestVerifyConnectivityRequest
Returns
TypeDescription
VerifyConnectivityResponse