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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ServicesGrpc.ServicesFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
createService(CreateServiceRequest request)
Creates a new Service in a given project and location.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
deleteService(DeleteServiceRequest request)
Deletes a Service.com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy>
getIamPolicy(com.google.iam.v1.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<com.google.iam.v1.Policy>
setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)
Sets the IAM Access control policy for the specified Service.com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)
Returns permissions that a caller has on the specified Project.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
updateService(UpdateServiceRequest request)
Updates a Service.
-
-
-
Method Detail
-
build
protected ServicesGrpc.ServicesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<ServicesGrpc.ServicesFutureStub>
-
createService
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.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.
-
updateService
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateService(UpdateServiceRequest request)
Updates a Service.
-
deleteService
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.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<com.google.iam.v1.Policy> getIamPolicy(com.google.iam.v1.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<com.google.iam.v1.Policy> setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)
Sets the IAM Access control policy for the specified Service. Overwrites any existing policy.
-
testIamPermissions
public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse> testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)
Returns permissions that a caller has on the specified Project. There are no permissions required for making this API call.
-
-