Job
(
mapping
=
None
,
*
,
ignore_unknown_fields
=
False
,
**
kwargs
)
A job represents an instance of a task.
Attributes
name
str
Output only. The relative resource name of the job, of the form:
projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}
.uid
str
Output only. System generated globally unique ID for the job.
start_time
google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the job was started.
end_time
google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the job ended.
state
retry_count
int
Output only. The number of times the job has been retried (excluding the initial attempt).
service
service_job
str
Output only. The full resource name for the job run under a particular service.
message
str
Output only. Additional information about the current state.
Classes
Service
Service
(
value
)
Values: SERVICE_UNSPECIFIED (0): Service used to run the job is unspecified. DATAPROC (1): Dataproc service is used to run this job.
State
State
(
value
)
Values: STATE_UNSPECIFIED (0): The job state is unknown. RUNNING (1): The job is running. CANCELLING (2): The job is cancelling. CANCELLED (3): The job cancellation was successful. SUCCEEDED (4): The job completed successfully. FAILED (5): The job is no longer running due to an error. ABORTED (6): The job was cancelled outside of Dataplex.