Class ServicesGrpc.ServicesStub

  • Enclosing class:
    ServicesGrpc

    public static final class ServicesGrpc.ServicesStub
    extends io.grpc.stub.AbstractAsyncStub<ServicesGrpc.ServicesStub>
    A stub to allow clients to do asynchronous 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.ServicesStub build​(io.grpc.Channel channel, io.grpc.CallOptions callOptions)  
      void createService​(CreateServiceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
      Creates a new Service in a given project and location.
      void deleteService​(DeleteServiceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
      Deletes a Service.
      void getIamPolicy​(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
      Gets the IAM Access Control policy currently in effect for the given Cloud Run Service.
      void getService​(GetServiceRequest request, io.grpc.stub.StreamObserver<Service> responseObserver)
      Gets information about a Service.
      void listServices​(ListServicesRequest request, io.grpc.stub.StreamObserver<ListServicesResponse> responseObserver)
      Lists Services.
      void setIamPolicy​(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
      Sets the IAM Access control policy for the specified Service.
      void testIamPermissions​(com.google.iam.v1.TestIamPermissionsRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse> responseObserver)
      Returns permissions that a caller has on the specified Project.
      void updateService​(UpdateServiceRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
      Updates a Service.
      • Methods inherited from class io.grpc.stub.AbstractAsyncStub

        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 void createService​(CreateServiceRequest request,
                                  io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Creates a new Service in a given project and location.
         
      • getService

        public void getService​(GetServiceRequest request,
                               io.grpc.stub.StreamObserver<Service> responseObserver)
         Gets information about a Service.
         
      • updateService

        public void updateService​(UpdateServiceRequest request,
                                  io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Updates a Service.
         
      • deleteService

        public void deleteService​(DeleteServiceRequest request,
                                  io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Deletes a Service.
         This will cause the Service to stop serving traffic and will delete all
         revisions.
         
      • getIamPolicy

        public void getIamPolicy​(com.google.iam.v1.GetIamPolicyRequest request,
                                 io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
         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 void setIamPolicy​(com.google.iam.v1.SetIamPolicyRequest request,
                                 io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
         Sets the IAM Access control policy for the specified Service. Overwrites
         any existing policy.
         
      • testIamPermissions

        public void testIamPermissions​(com.google.iam.v1.TestIamPermissionsRequest request,
                                       io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse> responseObserver)
         Returns permissions that a caller has on the specified Project.
         There are no permissions required for making this API call.