Class CmekConfigServiceGrpc.CmekConfigServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<CmekConfigServiceGrpc.CmekConfigServiceStub>
com.google.cloud.discoveryengine.v1.CmekConfigServiceGrpc.CmekConfigServiceStub
- Enclosing class:
- CmekConfigServiceGrpc
public static final class CmekConfigServiceGrpc.CmekConfigServiceStub
extends io.grpc.stub.AbstractAsyncStub<CmekConfigServiceGrpc.CmekConfigServiceStub>
A stub to allow clients to do asynchronous 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) voiddeleteCmekConfig(DeleteCmekConfigRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) De-provisions a CmekConfig.voidgetCmekConfig(GetCmekConfigRequest request, io.grpc.stub.StreamObserver<CmekConfig> responseObserver) Gets the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig].voidlistCmekConfigs(ListCmekConfigsRequest request, io.grpc.stub.StreamObserver<ListCmekConfigsResponse> responseObserver) Lists all the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s with the project.voidupdateCmekConfig(UpdateCmekConfigRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Provisions a CMEK key for use in a location of a customer's project.Methods inherited from class io.grpc.stub.AbstractAsyncStub
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.CmekConfigServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CmekConfigServiceGrpc.CmekConfigServiceStub>
-
updateCmekConfig
public void updateCmekConfig(UpdateCmekConfigRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) 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.
-
getCmekConfig
public void getCmekConfig(GetCmekConfigRequest request, io.grpc.stub.StreamObserver<CmekConfig> responseObserver) Gets the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig].
-
listCmekConfigs
public void listCmekConfigs(ListCmekConfigsRequest request, io.grpc.stub.StreamObserver<ListCmekConfigsResponse> responseObserver) Lists all the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s with the project.
-
deleteCmekConfig
public void deleteCmekConfig(DeleteCmekConfigRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) De-provisions a CmekConfig.
-