Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::DataScan.
Represents a user-visible job which provides the insights for the related data source.
For example:
- Data Quality: generates queries based on the rules and runs against the data to get data quality check results.
- Data Profile: analyzes the data in table(s) and generates insights about the structure, content and relationships (such as null percent, cardinality, min/max/mean, etc).
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time when the scan was created.
#data
def data() -> ::Google::Cloud::Dataplex::V1::DataSource
- (::Google::Cloud::Dataplex::V1::DataSource) — Required. The data source for DataScan.
#data=
def data=(value) -> ::Google::Cloud::Dataplex::V1::DataSource
- value (::Google::Cloud::Dataplex::V1::DataSource) — Required. The data source for DataScan.
- (::Google::Cloud::Dataplex::V1::DataSource) — Required. The data source for DataScan.
#data_discovery_result
def data_discovery_result() -> ::Google::Cloud::Dataplex::V1::DataDiscoveryResult
- (::Google::Cloud::Dataplex::V1::DataDiscoveryResult) — Output only. The result of a data discovery scan.
#data_discovery_spec
def data_discovery_spec() -> ::Google::Cloud::Dataplex::V1::DataDiscoverySpec
- (::Google::Cloud::Dataplex::V1::DataDiscoverySpec) — Settings for a data discovery scan.
#data_discovery_spec=
def data_discovery_spec=(value) -> ::Google::Cloud::Dataplex::V1::DataDiscoverySpec
- value (::Google::Cloud::Dataplex::V1::DataDiscoverySpec) — Settings for a data discovery scan.
- (::Google::Cloud::Dataplex::V1::DataDiscoverySpec) — Settings for a data discovery scan.
#data_profile_result
def data_profile_result() -> ::Google::Cloud::Dataplex::V1::DataProfileResult
- (::Google::Cloud::Dataplex::V1::DataProfileResult) — Output only. The result of a data profile scan.
#data_profile_spec
def data_profile_spec() -> ::Google::Cloud::Dataplex::V1::DataProfileSpec
- (::Google::Cloud::Dataplex::V1::DataProfileSpec) — Settings for a data profile scan.
#data_profile_spec=
def data_profile_spec=(value) -> ::Google::Cloud::Dataplex::V1::DataProfileSpec
- value (::Google::Cloud::Dataplex::V1::DataProfileSpec) — Settings for a data profile scan.
- (::Google::Cloud::Dataplex::V1::DataProfileSpec) — Settings for a data profile scan.
#data_quality_result
def data_quality_result() -> ::Google::Cloud::Dataplex::V1::DataQualityResult
- (::Google::Cloud::Dataplex::V1::DataQualityResult) — Output only. The result of a data quality scan.
#data_quality_spec
def data_quality_spec() -> ::Google::Cloud::Dataplex::V1::DataQualitySpec
- (::Google::Cloud::Dataplex::V1::DataQualitySpec) — Settings for a data quality scan.
#data_quality_spec=
def data_quality_spec=(value) -> ::Google::Cloud::Dataplex::V1::DataQualitySpec
- value (::Google::Cloud::Dataplex::V1::DataQualitySpec) — Settings for a data quality scan.
- (::Google::Cloud::Dataplex::V1::DataQualitySpec) — Settings for a data quality scan.
#description
def description() -> ::String
-
(::String) —
Optional. Description of the scan.
- Must be between 1-1024 characters.
#description=
def description=(value) -> ::String
-
value (::String) —
Optional. Description of the scan.
- Must be between 1-1024 characters.
-
(::String) —
Optional. Description of the scan.
- Must be between 1-1024 characters.
#display_name
def display_name() -> ::String
-
(::String) —
Optional. User friendly display name.
- Must be between 1-256 characters.
#display_name=
def display_name=(value) -> ::String
-
value (::String) —
Optional. User friendly display name.
- Must be between 1-256 characters.
-
(::String) —
Optional. User friendly display name.
- Must be between 1-256 characters.
#execution_spec
def execution_spec() -> ::Google::Cloud::Dataplex::V1::DataScan::ExecutionSpec
-
(::Google::Cloud::Dataplex::V1::DataScan::ExecutionSpec) — Optional. DataScan execution settings.
If not specified, the fields in it will use their default values.
#execution_spec=
def execution_spec=(value) -> ::Google::Cloud::Dataplex::V1::DataScan::ExecutionSpec
-
value (::Google::Cloud::Dataplex::V1::DataScan::ExecutionSpec) — Optional. DataScan execution settings.
If not specified, the fields in it will use their default values.
-
(::Google::Cloud::Dataplex::V1::DataScan::ExecutionSpec) — Optional. DataScan execution settings.
If not specified, the fields in it will use their default values.
#execution_status
def execution_status() -> ::Google::Cloud::Dataplex::V1::DataScan::ExecutionStatus
- (::Google::Cloud::Dataplex::V1::DataScan::ExecutionStatus) — Output only. Status of the data scan execution.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels for the scan.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels for the scan.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels for the scan.
#name
def name() -> ::String
-
(::String) — Output only. The relative resource name of the scan, of the form:
projects/{project}/locations/{location_id}/dataScans/{datascan_id}
, whereproject
refers to a project_id or project_number andlocation_id
refers to a GCP region.
#state
def state() -> ::Google::Cloud::Dataplex::V1::State
- (::Google::Cloud::Dataplex::V1::State) — Output only. Current state of the DataScan.
#type
def type() -> ::Google::Cloud::Dataplex::V1::DataScanType
- (::Google::Cloud::Dataplex::V1::DataScanType) — Output only. The type of DataScan.
#uid
def uid() -> ::String
- (::String) — Output only. System generated globally unique ID for the scan. This ID will be different if the scan is deleted and re-created with the same name.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time when the scan was last updated.