Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityDimensionResult

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

DataQualityDimensionResult provides a more detailed, per-dimension view of the results.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DataQualityDimensionResult

Returns a new instance of GoogleCloudDataplexV1DataQualityDimensionResult.



2487
2488
2489
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2487

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

Instance Attribute Details

#dimensionGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityDimension

A dimension captures data quality intent about a defined subset of the rules specified. Corresponds to the JSON property dimension



2472
2473
2474
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2472

def dimension
  @dimension
end

#passedBoolean Also known as: passed?

Output only. Whether the dimension passed or failed. Corresponds to the JSON property passed

Returns:

  • (Boolean)


2477
2478
2479
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2477

def passed
  @passed
end

#scoreFloat

Output only. The dimension-level data quality score for this data scan job if and only if the 'dimension' field is set.The score ranges between 0, 100 (up to two decimal points). Corresponds to the JSON property score

Returns:

  • (Float)


2485
2486
2487
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2485

def score
  @score
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2492
2493
2494
2495
2496
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2492

def update!(**args)
  @dimension = args[:dimension] if args.key?(:dimension)
  @passed = args[:passed] if args.key?(:passed)
  @score = args[:score] if args.key?(:score)
end