Class CmekConfigServiceGrpc.CmekConfigServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<CmekConfigServiceGrpc.CmekConfigServiceBlockingV2Stub>
com.google.cloud.discoveryengine.v1.CmekConfigServiceGrpc.CmekConfigServiceBlockingV2Stub
- Enclosing class:
- CmekConfigServiceGrpc
public static final class CmekConfigServiceGrpc.CmekConfigServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<CmekConfigServiceGrpc.CmekConfigServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service CmekConfigService.
Service for managing CMEK related tasks
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) deleteCmekConfig(DeleteCmekConfigRequest request) De-provisions a CmekConfig.getCmekConfig(GetCmekConfigRequest request) Gets the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig].listCmekConfigs(ListCmekConfigsRequest request) Lists all the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s with the project.updateCmekConfig(UpdateCmekConfigRequest request) Provisions a CMEK key for use in a location of a customer's project.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected CmekConfigServiceGrpc.CmekConfigServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CmekConfigServiceGrpc.CmekConfigServiceBlockingV2Stub>
-
updateCmekConfig
Provisions a CMEK key for use in a location of a customer's project. This method will also conduct location validation on the provided cmekConfig to make sure the key is valid and can be used in the selected location.
- Throws:
io.grpc.StatusException
-
getCmekConfig
Gets the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig].
- Throws:
io.grpc.StatusException
-
listCmekConfigs
public ListCmekConfigsResponse listCmekConfigs(ListCmekConfigsRequest request) throws io.grpc.StatusException Lists all the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s with the project.
- Throws:
io.grpc.StatusException
-
deleteCmekConfig
De-provisions a CmekConfig.
- Throws:
io.grpc.StatusException
-