Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualityColumnResult

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

DataQualityColumnResult provides a more detailed, per-column view of the results.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DataQualityColumnResult

Returns a new instance of GoogleCloudDataplexV1DataQualityColumnResult.



3407
3408
3409
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3407

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

Instance Attribute Details

#columnString

Output only. The column specified in the DataQualityRule. Corresponds to the JSON property column

Returns:

  • (String)


3387
3388
3389
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3387

def column
  @column
end

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

Output only. The dimension-level results for this column. Corresponds to the JSON property dimensions



3392
3393
3394
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3392

def dimensions
  @dimensions
end

#passedBoolean Also known as: passed?

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

Returns:

  • (Boolean)


3397
3398
3399
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3397

def passed
  @passed
end

#scoreFloat

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

Returns:

  • (Float)


3405
3406
3407
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3405

def score
  @score
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3412
3413
3414
3415
3416
3417
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3412

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