Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityResult
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityResult
- 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
-
#columns ⇒ Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityColumnResult>
Output only.
-
#dimensions ⇒ Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityDimensionResult>
A list of results at the dimension level.A dimension will have a corresponding DataQualityDimensionResult if and only if there is at least one rule with the ' dimension' field set to it.
-
#passed ⇒ Boolean
(also: #passed?)
Overall data quality result -- true if all rules passed.
-
#post_scan_actions_result ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityResultPostScanActionsResult
The result of post scan actions of DataQualityScan job.
-
#row_count ⇒ Fixnum
The count of rows processed.
-
#rules ⇒ Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleResult>
A list of all the rules in a job, and their results.
-
#scanned_data ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1ScannedData
The data scanned during processing (e.g. in incremental DataScan) Corresponds to the JSON property
scannedData
. -
#score ⇒ Float
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1DataQualityResult
constructor
A new instance of GoogleCloudDataplexV1DataQualityResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1DataQualityResult
Returns a new instance of GoogleCloudDataplexV1DataQualityResult.
2169 2170 2171 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2169 def initialize(**args) update!(**args) end |
Instance Attribute Details
#columns ⇒ Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityColumnResult>
Output only. A list of results at the column level.A column will have a
corresponding DataQualityColumnResult if and only if there is at least one
rule with the 'column' field set to it.
Corresponds to the JSON property columns
2128 2129 2130 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2128 def columns @columns end |
#dimensions ⇒ Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityDimensionResult>
A list of results at the dimension level.A dimension will have a corresponding
DataQualityDimensionResult if and only if there is at least one rule with the '
dimension' field set to it.
Corresponds to the JSON property dimensions
2135 2136 2137 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2135 def dimensions @dimensions end |
#passed ⇒ Boolean Also known as: passed?
Overall data quality result -- true if all rules passed.
Corresponds to the JSON property passed
2140 2141 2142 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2140 def passed @passed end |
#post_scan_actions_result ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityResultPostScanActionsResult
The result of post scan actions of DataQualityScan job.
Corresponds to the JSON property postScanActionsResult
2146 2147 2148 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2146 def post_scan_actions_result @post_scan_actions_result end |
#row_count ⇒ Fixnum
The count of rows processed.
Corresponds to the JSON property rowCount
2151 2152 2153 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2151 def row_count @row_count end |
#rules ⇒ Array<Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityRuleResult>
A list of all the rules in a job, and their results.
Corresponds to the JSON property rules
2156 2157 2158 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2156 def rules @rules end |
#scanned_data ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1ScannedData
The data scanned during processing (e.g. in incremental DataScan)
Corresponds to the JSON property scannedData
2161 2162 2163 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2161 def scanned_data @scanned_data end |
#score ⇒ Float
Output only. The overall data quality score.The score ranges between 0, 100 (
up to two decimal points).
Corresponds to the JSON property score
2167 2168 2169 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2167 def score @score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2174 def update!(**args) @columns = args[:columns] if args.key?(:columns) @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) @score = args[:score] if args.key?(:score) end |