Package com.google.cloud.run.v2
Class JobsGrpc.JobsBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<JobsGrpc.JobsBlockingV2Stub>
com.google.cloud.run.v2.JobsGrpc.JobsBlockingV2Stub
- Enclosing class:
- JobsGrpc
public static final class JobsGrpc.JobsBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<JobsGrpc.JobsBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service Jobs.
Cloud Run Job 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 JobsGrpc.JobsBlockingV2Stubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createJob(CreateJobRequest request) Creates a Job.deleteJob(DeleteJobRequest request) Deletes a Job.getIamPolicy(GetIamPolicyRequest request) Gets the IAM Access Control policy currently in effect for the given Job.getJob(GetJobRequest request) Gets information about a Job.listJobs(ListJobsRequest request) Lists Jobs.runJob(RunJobRequest request) Triggers creation of a new Execution of this Job.setIamPolicy(SetIamPolicyRequest request) Sets the IAM Access control policy for the specified Job.Returns permissions that a caller has on the specified Project.updateJob(UpdateJobRequest request) Updates a Job.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 JobsGrpc.JobsBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<JobsGrpc.JobsBlockingV2Stub>
-
createJob
Creates a Job.
- Throws:
io.grpc.StatusException
-
getJob
Gets information about a Job.
- Throws:
io.grpc.StatusException
-
listJobs
Lists Jobs. Results are sorted by creation time, descending.
- Throws:
io.grpc.StatusException
-
updateJob
Updates a Job.
- Throws:
io.grpc.StatusException
-
deleteJob
Deletes a Job.
- Throws:
io.grpc.StatusException
-
runJob
Triggers creation of a new Execution of this Job.
- Throws:
io.grpc.StatusException
-
getIamPolicy
Gets the IAM Access Control policy currently in effect for the given Job. This result does not include any inherited policies.
- Throws:
io.grpc.StatusException
-
setIamPolicy
Sets the IAM Access control policy for the specified Job. 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
-