Google Cloud Dataplex V1 Client - Class DataScanJob (0.12.0)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class DataScanJob.

A DataScanJob represents an instance of DataScan execution.

Generated from protobuf message google.cloud.dataplex.v1.DataScanJob

Namespace

Google \ Cloud \ Dataplex \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The relative resource name of the DataScanJob, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.

↳ uid string

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

↳ start_time Google\Protobuf\Timestamp

Output only. The time when the DataScanJob was started.

↳ end_time Google\Protobuf\Timestamp

Output only. The time when the DataScanJob ended.

↳ state int

Output only. Execution state for the DataScanJob.

↳ message string

Output only. Additional information about the current state.

↳ type int

Output only. The type of the parent DataScan.

↳ data_quality_spec Google\Cloud\Dataplex\V1\DataQualitySpec

Output only. DataQualityScan related setting.

↳ data_profile_spec Google\Cloud\Dataplex\V1\DataProfileSpec

Output only. DataProfileScan related setting.

↳ data_quality_result Google\Cloud\Dataplex\V1\DataQualityResult

Output only. The result of the data quality scan.

↳ data_profile_result Google\Cloud\Dataplex\V1\DataProfileResult

Output only. The result of the data profile scan.

getName

Output only. The relative resource name of the DataScanJob, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.

Returns
TypeDescription
string

setName

Output only. The relative resource name of the DataScanJob, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUid

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

Returns
TypeDescription
string

setUid

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStartTime

Output only. The time when the DataScanJob was started.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Output only. The time when the DataScanJob was started.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getEndTime

Output only. The time when the DataScanJob ended.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Output only. The time when the DataScanJob ended.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getState

Output only. Execution state for the DataScanJob.

Returns
TypeDescription
int

setState

Output only. Execution state for the DataScanJob.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMessage

Output only. Additional information about the current state.

Returns
TypeDescription
string

setMessage

Output only. Additional information about the current state.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

Output only. The type of the parent DataScan.

Returns
TypeDescription
int

setType

Output only. The type of the parent DataScan.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDataQualitySpec

Output only. DataQualityScan related setting.

Returns
TypeDescription
Google\Cloud\Dataplex\V1\DataQualitySpec|null

hasDataQualitySpec

setDataQualitySpec

Output only. DataQualityScan related setting.

Parameter
NameDescription
var Google\Cloud\Dataplex\V1\DataQualitySpec
Returns
TypeDescription
$this

getDataProfileSpec

Output only. DataProfileScan related setting.

Returns
TypeDescription
Google\Cloud\Dataplex\V1\DataProfileSpec|null

hasDataProfileSpec

setDataProfileSpec

Output only. DataProfileScan related setting.

Parameter
NameDescription
var Google\Cloud\Dataplex\V1\DataProfileSpec
Returns
TypeDescription
$this

getDataQualityResult

Output only. The result of the data quality scan.

Returns
TypeDescription
Google\Cloud\Dataplex\V1\DataQualityResult|null

hasDataQualityResult

setDataQualityResult

Output only. The result of the data quality scan.

Parameter
NameDescription
var Google\Cloud\Dataplex\V1\DataQualityResult
Returns
TypeDescription
$this

getDataProfileResult

Output only. The result of the data profile scan.

Returns
TypeDescription
Google\Cloud\Dataplex\V1\DataProfileResult|null

hasDataProfileResult

setDataProfileResult

Output only. The result of the data profile scan.

Parameter
NameDescription
var Google\Cloud\Dataplex\V1\DataProfileResult
Returns
TypeDescription
$this

getSpec

Returns
TypeDescription
string

getResult

Returns
TypeDescription
string