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.



1536
1537
1538
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1536

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



1513
1514
1515
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1513

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)


1518
1519
1520
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1518

def passed
  @passed
end

#row_countFixnum

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

Returns:

  • (Fixnum)


1524
1525
1526
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1524

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



1529
1530
1531
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1529

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



1534
1535
1536
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1534

def scanned_data
  @scanned_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1541
1542
1543
1544
1545
1546
1547
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1541

def update!(**args)
  @dimensions = args[:dimensions] if args.key?(:dimensions)
  @passed = args[:passed] if args.key?(:passed)
  @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