Package com.google.cloud.run.v2
Class ServicesGrpc.ServicesFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<ServicesGrpc.ServicesFutureStub>
com.google.cloud.run.v2.ServicesGrpc.ServicesFutureStub
- Enclosing class:
- ServicesGrpc
public static final class ServicesGrpc.ServicesFutureStub
extends io.grpc.stub.AbstractFutureStub<ServicesGrpc.ServicesFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Services.
Cloud Run Service 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 ServicesGrpc.ServicesFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Operation>createService(CreateServiceRequest request) Creates a new Service in a given project and location.com.google.common.util.concurrent.ListenableFuture<Operation>deleteService(DeleteServiceRequest request) Deletes a Service.com.google.common.util.concurrent.ListenableFuture<Policy>getIamPolicy(GetIamPolicyRequest request) Gets the IAM Access Control policy currently in effect for the given Cloud Run Service.com.google.common.util.concurrent.ListenableFuture<Service>getService(GetServiceRequest request) Gets information about a Service.com.google.common.util.concurrent.ListenableFuture<ListServicesResponse>listServices(ListServicesRequest request) Lists Services.com.google.common.util.concurrent.ListenableFuture<Policy>setIamPolicy(SetIamPolicyRequest request) Sets the IAM Access control policy for the specified Service.com.google.common.util.concurrent.ListenableFuture<TestIamPermissionsResponse>Returns permissions that a caller has on the specified Project.com.google.common.util.concurrent.ListenableFuture<Operation>updateService(UpdateServiceRequest request) Updates a Service.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 ServicesGrpc.ServicesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ServicesGrpc.ServicesFutureStub>
-
createService
public com.google.common.util.concurrent.ListenableFuture<Operation> createService(CreateServiceRequest request) Creates a new Service in a given project and location.
-
getService
public com.google.common.util.concurrent.ListenableFuture<Service> getService(GetServiceRequest request) Gets information about a Service.
-
listServices
public com.google.common.util.concurrent.ListenableFuture<ListServicesResponse> listServices(ListServicesRequest request) Lists Services. Results are sorted by creation time, descending.
-
updateService
public com.google.common.util.concurrent.ListenableFuture<Operation> updateService(UpdateServiceRequest request) Updates a Service.
-
deleteService
public com.google.common.util.concurrent.ListenableFuture<Operation> deleteService(DeleteServiceRequest request) Deletes a Service. This will cause the Service to stop serving traffic and will delete all revisions.
-
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 Service. 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 Service. 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.
-