[BindServiceMethod(typeof(Jobs), "BindService")]
public abstract class Jobs.JobsBaseReference documentation and code samples for the Cloud Run Admin v2 API class Jobs.JobsBase.
Base class for server-side implementations of Jobs
Namespace
Google.Cloud.Run.V2Assembly
Google.Cloud.Run.V2.dll
Methods
CreateJob(CreateJobRequest, ServerCallContext)
public virtual Task<Operation> CreateJob(CreateJobRequest request, ServerCallContext context)Creates a Job.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DeleteJob(DeleteJobRequest, ServerCallContext)
public virtual Task<Operation> DeleteJob(DeleteJobRequest request, ServerCallContext context)Deletes a Job.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
GetIamPolicy(GetIamPolicyRequest, ServerCallContext)
public virtual Task<Policy> GetIamPolicy(GetIamPolicyRequest request, ServerCallContext context)Gets the IAM Access Control policy currently in effect for the given Job. This result does not include any inherited policies.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
The response to send back to the client (wrapped by a task). |
GetJob(GetJobRequest, ServerCallContext)
public virtual Task<Job> GetJob(GetJobRequest request, ServerCallContext context)Gets information about a Job.
| Parameters | |
|---|---|
| Name | Description |
request |
GetJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskJob |
The response to send back to the client (wrapped by a task). |
ListJobs(ListJobsRequest, ServerCallContext)
public virtual Task<ListJobsResponse> ListJobs(ListJobsRequest request, ServerCallContext context)Lists Jobs. Results are sorted by creation time, descending.
| Parameters | |
|---|---|
| Name | Description |
request |
ListJobsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListJobsResponse |
The response to send back to the client (wrapped by a task). |
RunJob(RunJobRequest, ServerCallContext)
public virtual Task<Operation> RunJob(RunJobRequest request, ServerCallContext context)Triggers creation of a new Execution of this Job.
| Parameters | |
|---|---|
| Name | Description |
request |
RunJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
SetIamPolicy(SetIamPolicyRequest, ServerCallContext)
public virtual Task<Policy> SetIamPolicy(SetIamPolicyRequest request, ServerCallContext context)Sets the IAM Access control policy for the specified Job. Overwrites any existing policy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
The response to send back to the client (wrapped by a task). |
TestIamPermissions(TestIamPermissionsRequest, ServerCallContext)
public virtual Task<TestIamPermissionsResponse> TestIamPermissions(TestIamPermissionsRequest request, ServerCallContext context)Returns permissions that a caller has on the specified Project.
There are no permissions required for making this API call.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTestIamPermissionsResponse |
The response to send back to the client (wrapped by a task). |
UpdateJob(UpdateJobRequest, ServerCallContext)
public virtual Task<Operation> UpdateJob(UpdateJobRequest request, ServerCallContext context)Updates a Job.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |