Package com.google.cloud.run.v2
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.
-
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 TypeMethodDescriptionprotected WorkerPoolsGrpc.WorkerPoolsStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateWorkerPool(CreateWorkerPoolRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new WorkerPool in a given project and location.voiddeleteWorkerPool(DeleteWorkerPoolRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a WorkerPool.voidgetIamPolicy(GetIamPolicyRequest request, io.grpc.stub.StreamObserver<Policy> responseObserver) Gets the IAM Access Control policy currently in effect for the given Cloud Run WorkerPool.voidgetWorkerPool(GetWorkerPoolRequest request, io.grpc.stub.StreamObserver<WorkerPool> responseObserver) Gets information about a WorkerPool.voidlistWorkerPools(ListWorkerPoolsRequest request, io.grpc.stub.StreamObserver<ListWorkerPoolsResponse> responseObserver) Lists WorkerPools.voidsetIamPolicy(SetIamPolicyRequest request, io.grpc.stub.StreamObserver<Policy> responseObserver) Sets the IAM Access control policy for the specified WorkerPool.voidtestIamPermissions(TestIamPermissionsRequest request, io.grpc.stub.StreamObserver<TestIamPermissionsResponse> responseObserver) Returns permissions that a caller has on the specified Project.voidupdateWorkerPool(UpdateWorkerPoolRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates a WorkerPool.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 WorkerPoolsGrpc.WorkerPoolsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.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.
-