# Dataplex V1 API - Class Google::Cloud::Dataplex::V1::DataScanJob (v2.10.0)

2.10.0 (latest) 2.9.0 2.8.1 2.7.0 2.6.1 2.5.0 2.4.1 2.3.1 2.2.0 2.1.0 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.1 0.23.0 0.22.0 0.21.1 0.20.0 0.19.0 0.18.2 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.1 0.9.0 0.8.0 0.7.0 0.6.1 0.5.1 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::DataScanJob.

A DataScanJob represents an instance of DataScan execution.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time when the DataScanJob was created.

### #data_discovery_result

    def data_discovery_result() -> ::Google::Cloud::Dataplex::V1::DataDiscoveryResult

**Returns**

- ([::Google::Cloud::Dataplex::V1::DataDiscoveryResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataDiscoveryResult)) --- Output only. The result of a data discovery scan.


  Note: The following fields are mutually exclusive: `data_discovery_result`, `data_quality_result`, `data_profile_result`, `data_documentation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #data_discovery_spec

    def data_discovery_spec() -> ::Google::Cloud::Dataplex::V1::DataDiscoverySpec

**Returns**

- ([::Google::Cloud::Dataplex::V1::DataDiscoverySpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataDiscoverySpec)) --- Output only. Settings for a data discovery scan.


  Note: The following fields are mutually exclusive: `data_discovery_spec`, `data_quality_spec`, `data_profile_spec`, `data_documentation_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #data_documentation_result

    def data_documentation_result() -> ::Google::Cloud::Dataplex::V1::DataDocumentationResult

**Returns**

- ([::Google::Cloud::Dataplex::V1::DataDocumentationResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataDocumentationResult)) --- Output only. The result of a data documentation scan.


  Note: The following fields are mutually exclusive: `data_documentation_result`, `data_quality_result`, `data_profile_result`, `data_discovery_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #data_documentation_spec

    def data_documentation_spec() -> ::Google::Cloud::Dataplex::V1::DataDocumentationSpec

**Returns**

- ([::Google::Cloud::Dataplex::V1::DataDocumentationSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataDocumentationSpec)) --- Output only. Settings for a data documentation scan.


  Note: The following fields are mutually exclusive: `data_documentation_spec`, `data_quality_spec`, `data_profile_spec`, `data_discovery_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #data_profile_result

    def data_profile_result() -> ::Google::Cloud::Dataplex::V1::DataProfileResult

**Returns**

- ([::Google::Cloud::Dataplex::V1::DataProfileResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataProfileResult)) --- Output only. The result of a data profile scan.


  Note: The following fields are mutually exclusive: `data_profile_result`, `data_quality_result`, `data_discovery_result`, `data_documentation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #data_profile_spec

    def data_profile_spec() -> ::Google::Cloud::Dataplex::V1::DataProfileSpec

**Returns**

- ([::Google::Cloud::Dataplex::V1::DataProfileSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataProfileSpec)) --- Output only. Settings for a data profile scan.


  Note: The following fields are mutually exclusive: `data_profile_spec`, `data_quality_spec`, `data_discovery_spec`, `data_documentation_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #data_quality_result

    def data_quality_result() -> ::Google::Cloud::Dataplex::V1::DataQualityResult

**Returns**

- ([::Google::Cloud::Dataplex::V1::DataQualityResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataQualityResult)) --- Output only. The result of a data quality scan.


  Note: The following fields are mutually exclusive: `data_quality_result`, `data_profile_result`, `data_discovery_result`, `data_documentation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #data_quality_spec

    def data_quality_spec() -> ::Google::Cloud::Dataplex::V1::DataQualitySpec

**Returns**

- ([::Google::Cloud::Dataplex::V1::DataQualitySpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataQualitySpec)) --- Output only. Settings for a data quality scan.


  Note: The following fields are mutually exclusive: `data_quality_spec`, `data_profile_spec`, `data_discovery_spec`, `data_documentation_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #end_time

    def end_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time when the DataScanJob ended.

### #message

    def message() -> ::String

**Returns**

- (::String) --- Output only. Additional information about the current state.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. Identifier. 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 Google Cloud region.

### #partial_failure_message

    def partial_failure_message() -> ::String

**Returns**

- (::String) --- Output only. A message indicating partial failure details.

### #start_time

    def start_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time when the DataScanJob was started.

### #state

    def state() -> ::Google::Cloud::Dataplex::V1::DataScanJob::State

**Returns**

- ([::Google::Cloud::Dataplex::V1::DataScanJob::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataScanJob-State)) --- Output only. Execution state for the DataScanJob.

### #type

    def type() -> ::Google::Cloud::Dataplex::V1::DataScanType

**Returns**

- ([::Google::Cloud::Dataplex::V1::DataScanType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataScanType)) --- Output only. The type of the parent DataScan.

### #uid

    def uid() -> ::String

**Returns**

- (::String) --- Output only. System generated globally unique ID for the DataScanJob.