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.



2274
2275
2276
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2274

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)


2265
2266
2267
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2265

def column
  @column
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)


2272
2273
2274
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2272

def score
  @score
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2279
2280
2281
2282
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2279

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