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
 
  • Method Details

    • build

      protected CmekConfigServiceGrpc.CmekConfigServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<CmekConfigServiceGrpc.CmekConfigServiceBlockingV2Stub>
    • updateCmekConfig

      public Operation updateCmekConfig(UpdateCmekConfigRequest request) throws io.grpc.StatusException
       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

      public CmekConfig getCmekConfig(GetCmekConfigRequest request) throws io.grpc.StatusException
       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

      public Operation deleteCmekConfig(DeleteCmekConfigRequest request) throws io.grpc.StatusException
       De-provisions a CmekConfig.
       
      Throws:
      io.grpc.StatusException