class ProjectsLocationsDataScansJobs extends Resource (View source)

The "jobs" collection of methods.

Typical usage is:

 $dataplexService = new Google\Service\CloudDataplex(...);
 $jobs = $dataplexService->projects_locations_dataScans_jobs;

Methods

generateDataQualityRules(string $name, GoogleCloudDataplexV1GenerateDataQualityRulesRequest $postBody, array $optParams = [])

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. (jobs.generateDataQualityRules)

get(string $name, array $optParams = [])

Gets a DataScanJob resource. (jobs.get)

listProjectsLocationsDataScansJobs(string $parent, array $optParams = [])

Lists DataScanJobs under the given DataScan.

Details

GoogleCloudDataplexV1GenerateDataQualityRulesResponse generateDataQualityRules(string $name, GoogleCloudDataplexV1GenerateDataQualityRulesRequest $postBody, array $optParams = [])

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. (jobs.generateDataQualityRules)

Parameters

string $name

Required. The name must be one of the following: The name of a data scan with at least one successful, completed data profiling job The name of a successful, completed data profiling job (a data scan job where the job type is data profiling)

GoogleCloudDataplexV1GenerateDataQualityRulesRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudDataplexV1GenerateDataQualityRulesResponse

Exceptions

Exception

GoogleCloudDataplexV1DataScanJob get(string $name, array $optParams = [])

Gets a DataScanJob resource. (jobs.get)

Parameters

string $name

Required. The resource name of the DataScanJob: projects/ {project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_jo b_id} where project refers to a project_id or project_number and location_id refers to a GCP region.

array $optParams

Optional parameters.

Return Value

GoogleCloudDataplexV1DataScanJob

Exceptions

Exception

GoogleCloudDataplexV1ListDataScanJobsResponse listProjectsLocationsDataScansJobs(string $parent, array $optParams = [])

Lists DataScanJobs under the given DataScan.

(jobs.listProjectsLocationsDataScansJobs)

Parameters

string $parent

Required. The resource name of the parent environment: projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where project refers to a project_id or project_number and location_id refers to a GCP region.

array $optParams

Optional parameters.

Return Value

GoogleCloudDataplexV1ListDataScanJobsResponse

Exceptions

Exception