Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityResult

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb

Overview

The output of a DataQualityScan.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DataQualityResult

Returns a new instance of GoogleCloudDataplexV1DataQualityResult.



1723
1724
1725
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1723

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dimensionsArray<Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityDimensionResult>

A list of results at the dimension level. Corresponds to the JSON property dimensions



1695
1696
1697
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1695

def dimensions
  @dimensions
end

#passedBoolean Also known as: passed?

Overall data quality result -- true if all rules passed. Corresponds to the JSON property passed

Returns:

  • (Boolean)


1700
1701
1702
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1700

def passed
  @passed
end

#post_scan_actions_resultGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityResultPostScanActionsResult

The result of post scan actions of DataQualityScan job. Corresponds to the JSON property postScanActionsResult



1706
1707
1708
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1706

def post_scan_actions_result
  @post_scan_actions_result
end

#row_countFixnum

The count of rows processed. Corresponds to the JSON property rowCount

Returns:

  • (Fixnum)


1711
1712
1713
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1711

def row_count
  @row_count
end

#rulesArray<Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleResult>

A list of all the rules in a job, and their results. Corresponds to the JSON property rules



1716
1717
1718
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1716

def rules
  @rules
end

#scanned_dataGoogle::Apis::DataplexV1::GoogleCloudDataplexV1ScannedData

The data scanned during processing (e.g. in incremental DataScan) Corresponds to the JSON property scannedData



1721
1722
1723
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1721

def scanned_data
  @scanned_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1728
1729
1730
1731
1732
1733
1734
1735
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1728

def update!(**args)
  @dimensions = args[:dimensions] if args.key?(:dimensions)
  @passed = args[:passed] if args.key?(:passed)
  @post_scan_actions_result = args[:post_scan_actions_result] if args.key?(:post_scan_actions_result)
  @row_count = args[:row_count] if args.key?(:row_count)
  @rules = args[:rules] if args.key?(:rules)
  @scanned_data = args[:scanned_data] if args.key?(:scanned_data)
end