Package com.google.cloud.run.v2
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 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.
-
-
-
Method Detail
-
build
protected ServicesGrpc.ServicesStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<ServicesGrpc.ServicesStub>
-
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.
-
listServices
public void listServices(ListServicesRequest request, io.grpc.stub.StreamObserver<ListServicesResponse> responseObserver)
Lists Services.
-
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.
-
-