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.



2946
2947
2948
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2946

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)


2944
2945
2946
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2944

def score_threshold
  @score_threshold
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2951
2952
2953
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2951

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