Package com.google.cloud.run.v2
Class WorkerPoolsGrpc.WorkerPoolsBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<WorkerPoolsGrpc.WorkerPoolsBlockingV2Stub>
com.google.cloud.run.v2.WorkerPoolsGrpc.WorkerPoolsBlockingV2Stub
- Enclosing class:
- WorkerPoolsGrpc
public static final class WorkerPoolsGrpc.WorkerPoolsBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<WorkerPoolsGrpc.WorkerPoolsBlockingV2Stub>
A stub to allow clients to do synchronous 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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createWorkerPool(CreateWorkerPoolRequest request) Creates a new WorkerPool in a given project and location.deleteWorkerPool(DeleteWorkerPoolRequest request) Deletes a WorkerPool.getIamPolicy(GetIamPolicyRequest request) Gets the IAM Access Control policy currently in effect for the given Cloud Run WorkerPool.getWorkerPool(GetWorkerPoolRequest request) Gets information about a WorkerPool.listWorkerPools(ListWorkerPoolsRequest request) Lists WorkerPools.setIamPolicy(SetIamPolicyRequest request) Sets the IAM Access control policy for the specified WorkerPool.Returns permissions that a caller has on the specified Project.updateWorkerPool(UpdateWorkerPoolRequest request) Updates a WorkerPool.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.WorkerPoolsBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<WorkerPoolsGrpc.WorkerPoolsBlockingV2Stub>
-
createWorkerPool
Creates a new WorkerPool in a given project and location.
- Throws:
io.grpc.StatusException
-
getWorkerPool
Gets information about a WorkerPool.
- Throws:
io.grpc.StatusException
-
listWorkerPools
public ListWorkerPoolsResponse listWorkerPools(ListWorkerPoolsRequest request) throws io.grpc.StatusException Lists WorkerPools. Results are sorted by creation time, descending.
- Throws:
io.grpc.StatusException
-
updateWorkerPool
Updates a WorkerPool.
- Throws:
io.grpc.StatusException
-
deleteWorkerPool
Deletes a WorkerPool.
- Throws:
io.grpc.StatusException
-
getIamPolicy
Gets the IAM Access Control policy currently in effect for the given Cloud Run WorkerPool. This result does not include any inherited policies.
- Throws:
io.grpc.StatusException
-
setIamPolicy
Sets the IAM Access control policy for the specified WorkerPool. Overwrites any existing policy.
- Throws:
io.grpc.StatusException
-
testIamPermissions
public TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request) throws io.grpc.StatusException Returns permissions that a caller has on the specified Project. There are no permissions required for making this API call.
- Throws:
io.grpc.StatusException
-