REST Resource: projects.locations.lakes.tasks.jobs

Stay organized with collections Save and categorize content based on your preferences.

Resource: Job

A job represents an instance of a task.

JSON representation
{
  "name": string,
  "uid": string,
  "startTime": string,
  "endTime": string,
  "state": enum (State),
  "retryCount": integer,
  "service": enum (Service),
  "serviceJob": string,
  "message": string
}
Fields
name

string

Output only. The relative resource name of the job, of the form: projects/{project_number}/locations/{locationId}/lakes/{lakeId}/tasks/{taskId}/jobs/{jobId}.

uid

string

Output only. System generated globally unique ID for the job.

startTime

string (Timestamp format)

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: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

endTime

string (Timestamp format)

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: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

state

enum (State)

Output only. Execution state for the job.

retryCount

integer (uint32 format)

Output only. The number of times the job has been retried (excluding the initial attempt).

service

enum (Service)

Output only. The underlying service running a job.

serviceJob

string

Output only. The full resource name for the job run under a particular service.

message

string

Output only. Additional information about the current state.

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.

Methods

cancel

Cancel jobs running for the task resource.

get

Get job resource.

list

Lists Jobs under the given task.