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
-
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
Modifier and TypeMethodDescriptionprotected ServicesGrpc.ServicesStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateService(CreateServiceRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new Service in a given project and location.voiddeleteService(DeleteServiceRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a Service.voidgetIamPolicy(GetIamPolicyRequest request, io.grpc.stub.StreamObserver<Policy> responseObserver) Gets the IAM Access Control policy currently in effect for the given Cloud Run Service.voidgetService(GetServiceRequest request, io.grpc.stub.StreamObserver<Service> responseObserver) Gets information about a Service.voidlistServices(ListServicesRequest request, io.grpc.stub.StreamObserver<ListServicesResponse> responseObserver) Lists Services.voidsetIamPolicy(SetIamPolicyRequest request, io.grpc.stub.StreamObserver<Policy> responseObserver) Sets the IAM Access control policy for the specified Service.voidtestIamPermissions(TestIamPermissionsRequest request, io.grpc.stub.StreamObserver<TestIamPermissionsResponse> responseObserver) Returns permissions that a caller has on the specified Project.voidupdateService(UpdateServiceRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates a Service.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
- Specified by:
buildin classio.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.
-