Skip to main content

jobs

Creates, updates, deletes, gets or lists a jobs resource.

Overview

Namejobs
TypeResource
Idgoogle.dataplex.jobs

Fields

NameDatatypeDescription
namestringOutput 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}.
endTimestringOutput only. The time when the job ended.
executionSpecobjectExecution related settings, like retry and service_account.
labelsobjectOutput only. User-defined labels for the task.
messagestringOutput only. Additional information about the current state.
retryCountintegerOutput only. The number of times the job has been retried (excluding the initial attempt).
servicestringOutput only. The underlying service running a job.
serviceJobstringOutput only. The full resource name for the job run under a particular service.
startTimestringOutput only. The time when the job was started.
statestringOutput only. Execution state for the job.
triggerstringOutput only. Job execution trigger.
uidstringOutput only. System generated globally unique ID for the job.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_data_scans_jobs_getSELECTdataScansId, jobsId, locationsId, projectsIdGets a DataScanJob resource.
projects_locations_data_scans_jobs_listSELECTdataScansId, locationsId, projectsIdLists DataScanJobs under the given DataScan.
projects_locations_lakes_tasks_jobs_getSELECTjobsId, lakesId, locationsId, projectsId, tasksIdGet job resource.
projects_locations_lakes_tasks_jobs_listSELECTlakesId, locationsId, projectsId, tasksIdLists Jobs under the given task.
projects_locations_data_scans_jobs_generate_data_quality_rulesEXECdataScansId, jobsId, locationsId, projectsIdGenerates recommended data quality rules based on the results of a data profiling scan.Use the recommendations to build rules for a data quality scan.
projects_locations_lakes_tasks_jobs_cancelEXECjobsId, lakesId, locationsId, projectsId, tasksIdCancel jobs running for the task resource.

SELECT examples

Lists DataScanJobs under the given DataScan.

SELECT
name,
endTime,
executionSpec,
labels,
message,
retryCount,
service,
serviceJob,
startTime,
state,
trigger,
uid
FROM google.dataplex.jobs
WHERE dataScansId = '{{ dataScansId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';