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