Package com.google.cloud.run.v2
Class JobsGrpc.JobsFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<JobsGrpc.JobsFutureStub>
-
- com.google.cloud.run.v2.JobsGrpc.JobsFutureStub
-
- Enclosing class:
- JobsGrpc
public static final class JobsGrpc.JobsFutureStub extends io.grpc.stub.AbstractFutureStub<JobsGrpc.JobsFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Jobs.Cloud Run Job Control Plane API.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JobsGrpc.JobsFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>createJob(CreateJobRequest request)Creates a Job.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>deleteJob(DeleteJobRequest request)Deletes a Job.com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy>getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)Gets the IAM Access Control policy currently in effect for the given Job.com.google.common.util.concurrent.ListenableFuture<Job>getJob(GetJobRequest request)Gets information about a Job.com.google.common.util.concurrent.ListenableFuture<ListJobsResponse>listJobs(ListJobsRequest request)Lists Jobs.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>runJob(RunJobRequest request)Triggers creation of a new Execution of this Job.com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy>setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)Sets the IAM Access control policy for the specified Job.com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse>testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)Returns permissions that a caller has on the specified Project.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>updateJob(UpdateJobRequest request)Updates a Job.
-
-
-
Method Detail
-
build
protected JobsGrpc.JobsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<JobsGrpc.JobsFutureStub>
-
createJob
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createJob(CreateJobRequest request)
Creates a Job.
-
getJob
public com.google.common.util.concurrent.ListenableFuture<Job> getJob(GetJobRequest request)
Gets information about a Job.
-
listJobs
public com.google.common.util.concurrent.ListenableFuture<ListJobsResponse> listJobs(ListJobsRequest request)
Lists Jobs.
-
updateJob
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateJob(UpdateJobRequest request)
Updates a Job.
-
deleteJob
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteJob(DeleteJobRequest request)
Deletes a Job.
-
runJob
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> runJob(RunJobRequest request)
Triggers creation of a new Execution of this Job.
-
getIamPolicy
public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)
Gets the IAM Access Control policy currently in effect for the given Job. This result does not include any inherited policies.
-
setIamPolicy
public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)
Sets the IAM Access control policy for the specified Job. Overwrites any existing policy.
-
testIamPermissions
public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse> testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)
Returns permissions that a caller has on the specified Project. There are no permissions required for making this API call.
-
-