Class WorkerPoolsGrpc.WorkerPoolsStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<WorkerPoolsGrpc.WorkerPoolsStub>
com.google.cloud.run.v2.WorkerPoolsGrpc.WorkerPoolsStub
Enclosing class:
WorkerPoolsGrpc

public static final class WorkerPoolsGrpc.WorkerPoolsStub extends io.grpc.stub.AbstractAsyncStub<WorkerPoolsGrpc.WorkerPoolsStub>
A stub to allow clients to do asynchronous rpc calls to service WorkerPools.
 Cloud Run WorkerPool Control Plane API.
 
  • Method Details

    • build

      protected WorkerPoolsGrpc.WorkerPoolsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<WorkerPoolsGrpc.WorkerPoolsStub>
    • createWorkerPool

      public void createWorkerPool(CreateWorkerPoolRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Creates a new WorkerPool in a given project and location.
       
    • getWorkerPool

      public void getWorkerPool(GetWorkerPoolRequest request, io.grpc.stub.StreamObserver<WorkerPool> responseObserver)
       Gets information about a WorkerPool.
       
    • listWorkerPools

      public void listWorkerPools(ListWorkerPoolsRequest request, io.grpc.stub.StreamObserver<ListWorkerPoolsResponse> responseObserver)
       Lists WorkerPools. Results are sorted by creation time, descending.
       
    • updateWorkerPool

      public void updateWorkerPool(UpdateWorkerPoolRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Updates a WorkerPool.
       
    • deleteWorkerPool

      public void deleteWorkerPool(DeleteWorkerPoolRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Deletes a WorkerPool.
       
    • getIamPolicy

      public void getIamPolicy(GetIamPolicyRequest request, io.grpc.stub.StreamObserver<Policy> responseObserver)
       Gets the IAM Access Control policy currently in effect for the given
       Cloud Run WorkerPool. This result does not include any inherited policies.
       
    • setIamPolicy

      public void setIamPolicy(SetIamPolicyRequest request, io.grpc.stub.StreamObserver<Policy> responseObserver)
       Sets the IAM Access control policy for the specified WorkerPool. Overwrites
       any existing policy.
       
    • testIamPermissions

      public void testIamPermissions(TestIamPermissionsRequest request, io.grpc.stub.StreamObserver<TestIamPermissionsResponse> responseObserver)
       Returns permissions that a caller has on the specified Project.
       There are no permissions required for making this API call.