Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualitySpecPostScanActionsScoreThresholdTrigger

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

This trigger is triggered when the DQ score in the job result is less than a specified input score.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DataQualitySpecPostScanActionsScoreThresholdTrigger

Returns a new instance of GoogleCloudDataplexV1DataQualitySpecPostScanActionsScoreThresholdTrigger.



2928
2929
2930
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2928

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

Instance Attribute Details

#score_thresholdFloat

Optional. The score range is in 0,100. Corresponds to the JSON property scoreThreshold

Returns:

  • (Float)


2926
2927
2928
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2926

def score_threshold
  @score_threshold
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2933
2934
2935
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2933

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