# Class Job (2.20.0)

2.20.0 (latest) 2.19.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.2 2.9.0 2.8.0 2.7.1 2.6.0 2.5.0 2.4.0 2.3.1 2.2.2 2.1.0 2.0.1 1.13.0 1.12.3 1.11.0 1.10.0 1.9.0 1.8.1 1.7.0 1.6.2 1.5.1 1.4.3 1.3.0 1.2.0 1.1.3 1.0.1 0.2.1 0.1.0

    Job(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A job represents an instance of a task.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `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` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.Job.State` Output only. Execution state for the job. |
| `retry_count` | `int` Output only. The number of times the job has been retried (excluding the initial attempt). |
| `service` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.Job.Service` Output only. The underlying service running a job. |
| `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. |
| `labels` | `MutableMapping[str, str]` Output only. User-defined labels for the task. |
| `trigger` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.Job.Trigger` Output only. Job execution trigger. |
| `execution_spec` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.Task.ExecutionSpec` Output only. Spec related to how a task is executed. |

## Classes

### LabelsEntry

    LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### Service

    Service(value)

### State

    State(value)

### Trigger

    Trigger(value)

Job execution trigger.