Class 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

      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.
      • Methods inherited from class io.grpc.stub.AbstractFutureStub

        newStub, newStub
      • Methods inherited from class io.grpc.stub.AbstractStub

        getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
    • Method Detail

      • 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.
         
      • 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.