Package com.google.cloud.run.v2
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
-
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.ServicesBlockingV2Stubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createService(CreateServiceRequest request) Creates a new Service in a given project and location.deleteService(DeleteServiceRequest request) Deletes a Service.getIamPolicy(GetIamPolicyRequest request) Gets the IAM Access Control policy currently in effect for the given Cloud Run Service.getService(GetServiceRequest request) Gets information about a Service.listServices(ListServicesRequest request) Lists Services.setIamPolicy(SetIamPolicyRequest request) Sets the IAM Access control policy for the specified Service.Returns permissions that a caller has on the specified Project.updateService(UpdateServiceRequest request) Updates a Service.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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
protected ServicesGrpc.ServicesBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ServicesGrpc.ServicesBlockingV2Stub>
-
createService
Creates a new Service in a given project and location.
- Throws:
io.grpc.StatusException
-
getService
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
Updates a Service.
- Throws:
io.grpc.StatusException
-
deleteService
Deletes a Service. This will cause the Service to stop serving traffic and will delete all revisions.
- Throws:
io.grpc.StatusException
-
getIamPolicy
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
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
-