Class ServicesGrpc.ServicesStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ServicesGrpc.ServicesStub>
com.google.cloud.run.v2.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
 
  • Method Details

    • build

      protected ServicesGrpc.ServicesStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<ServicesGrpc.ServicesStub>
    • createService

      public void createService(CreateServiceRequest request, io.grpc.stub.StreamObserver<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.
       
    • listServices

      public void listServices(ListServicesRequest request, io.grpc.stub.StreamObserver<ListServicesResponse> responseObserver)
       Lists Services. Results are sorted by creation time, descending.
       
    • updateService

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

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

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

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