Class ServicesGrpc.ServicesBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ServicesGrpc.ServicesBlockingV2Stub>
com.google.cloud.run.v2.ServicesGrpc.ServicesBlockingV2Stub
Enclosing class:
ServicesGrpc

public static final class ServicesGrpc.ServicesBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<ServicesGrpc.ServicesBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service Services.
 Cloud Run Service Control Plane API
 
  • Method Details

    • build

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

      public Operation createService(CreateServiceRequest request) throws io.grpc.StatusException
       Creates a new Service in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • getService

      public Service getService(GetServiceRequest request) throws io.grpc.StatusException
       Gets information about a Service.
       
      Throws:
      io.grpc.StatusException
    • listServices

      public ListServicesResponse listServices(ListServicesRequest request) throws io.grpc.StatusException
       Lists Services. Results are sorted by creation time, descending.
       
      Throws:
      io.grpc.StatusException
    • updateService

      public Operation updateService(UpdateServiceRequest request) throws io.grpc.StatusException
       Updates a Service.
       
      Throws:
      io.grpc.StatusException
    • deleteService

      public Operation deleteService(DeleteServiceRequest request) throws io.grpc.StatusException
       Deletes a Service.
       This will cause the Service to stop serving traffic and will delete all
       revisions.
       
      Throws:
      io.grpc.StatusException
    • getIamPolicy

      public Policy getIamPolicy(GetIamPolicyRequest request) throws io.grpc.StatusException
       Gets the IAM Access Control policy currently in effect for the given
       Cloud Run Service. This result does not include any inherited policies.
       
      Throws:
      io.grpc.StatusException
    • setIamPolicy

      public Policy setIamPolicy(SetIamPolicyRequest request) throws io.grpc.StatusException
       Sets the IAM Access control policy for the specified Service. Overwrites
       any existing policy.
       
      Throws:
      io.grpc.StatusException
    • testIamPermissions

      public TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request) throws io.grpc.StatusException
       Returns permissions that a caller has on the specified Project.
       There are no permissions required for making this API call.
       
      Throws:
      io.grpc.StatusException