jobs
Creates, updates, deletes, gets or lists a jobs
resource.
Overview
Name | jobs |
Type | Resource |
Id | google.dataplex.jobs |
Fields
Name | Datatype | Description |
---|---|---|
name | string | 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}. |
endTime | string | Output only. The time when the job ended. |
executionSpec | object | Execution related settings, like retry and service_account. |
labels | object | Output only. User-defined labels for the task. |
message | string | Output only. Additional information about the current state. |
retryCount | integer | Output only. The number of times the job has been retried (excluding the initial attempt). |
service | string | Output only. The underlying service running a job. |
serviceJob | string | Output only. The full resource name for the job run under a particular service. |
startTime | string | Output only. The time when the job was started. |
state | string | Output only. Execution state for the job. |
trigger | string | Output only. Job execution trigger. |
uid | string | Output only. System generated globally unique ID for the job. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_data_scans_jobs_get | SELECT | dataScansId, jobsId, locationsId, projectsId | Gets a DataScanJob resource. |
projects_locations_data_scans_jobs_list | SELECT | dataScansId, locationsId, projectsId | Lists DataScanJobs under the given DataScan. |
projects_locations_lakes_tasks_jobs_get | SELECT | jobsId, lakesId, locationsId, projectsId, tasksId | Get job resource. |
projects_locations_lakes_tasks_jobs_list | SELECT | lakesId, locationsId, projectsId, tasksId | Lists Jobs under the given task. |
projects_locations_data_scans_jobs_generate_data_quality_rules | EXEC | dataScansId, jobsId, locationsId, projectsId | Generates 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_cancel | EXEC | jobsId, lakesId, locationsId, projectsId, tasksId | Cancel 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 }}';