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 Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    deleteCmekConfig(DeleteCmekConfigRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
    De-provisions a CmekConfig.
    void
    getCmekConfig(GetCmekConfigRequest request, io.grpc.stub.StreamObserver<CmekConfig> responseObserver)
    Gets the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig].
    void
    listCmekConfigs(ListCmekConfigsRequest request, io.grpc.stub.StreamObserver<ListCmekConfigsResponse> responseObserver)
    Lists all the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s with the project.
    void
    updateCmekConfig(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, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected CmekConfigServiceGrpc.CmekConfigServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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.