Resource: Job
A job represents an instance of a task.
JSON representation |
---|
{ "name": string, "uid": string, "startTime": string, "endTime": string, "state": enum ( |
Fields | |
---|---|
name |
Output only. The relative resource name of the job, of the form: |
uid |
Output only. System generated globally unique ID for the job. |
startTime |
Output only. The time when the job was started. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
endTime |
Output only. The time when the job ended. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
state |
Output only. Execution state for the job. |
retryCount |
Output only. The number of times the job has been retried (excluding the initial attempt). |
service |
Output only. The underlying service running a job. |
serviceJob |
Output only. The full resource name for the job run under a particular service. |
message |
Output only. Additional information about the current state. |
labels |
Output only. User-defined labels for the task. An object containing a list of |
trigger |
Output only. Job execution trigger. |
executionSpec |
Output only. Spec related to how a task is executed. |
State
Enums | |
---|---|
STATE_UNSPECIFIED |
The job state is unknown. |
RUNNING |
The job is running. |
CANCELLING |
The job is cancelling. |
CANCELLED |
The job cancellation was successful. |
SUCCEEDED |
The job completed successfully. |
FAILED |
The job is no longer running due to an error. |
ABORTED |
The job was cancelled outside of Dataplex. |
Service
Enums | |
---|---|
SERVICE_UNSPECIFIED |
Service used to run the job is unspecified. |
DATAPROC |
Dataproc service is used to run this job. |
Trigger
Job execution trigger.
Enums | |
---|---|
TRIGGER_UNSPECIFIED |
The trigger is unspecified. |
TASK_CONFIG |
The job was triggered by Dataplex based on trigger spec from task definition. |
RUN_REQUEST |
The job was triggered by the explicit call of Task API. |
Methods |
|
---|---|
|
Cancel jobs running for the task resource. |
|
Get job resource. |
|
Lists Jobs under the given task. |