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.
2392 2393 2394 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2392 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
2351 2352 2353 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2351 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
2358 2359 2360 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2358 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
2363 2364 2365 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2363 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
2369 2370 2371 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2369 def post_scan_actions_result @post_scan_actions_result end |
#row_count ⇒ Fixnum
The count of rows processed.
Corresponds to the JSON property rowCount
2374 2375 2376 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2374 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
2379 2380 2381 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2379 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
2384 2385 2386 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2384 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
2390 2391 2392 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2390 def score @score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2397 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 |