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. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
endTime
|
Output only. The time when the job ended. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. 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. |
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 Universal Catalog. |
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 Universal Catalog 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. |