Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataQualitySpecPostScanActionsNotificationReport

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

The configuration of notification report post scan action.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DataQualitySpecPostScanActionsNotificationReport

Returns a new instance of GoogleCloudDataplexV1DataQualitySpecPostScanActionsNotificationReport.



2902
2903
2904
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2902

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

Instance Attribute Details

#job_end_triggerGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DataQualitySpecPostScanActionsJobEndTrigger

This trigger is triggered whenever a scan job run ends, regardless of the result. Corresponds to the JSON property jobEndTrigger



2882
2883
2884
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2882

def job_end_trigger
  @job_end_trigger
end

#job_failure_triggerGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DataQualitySpecPostScanActionsJobFailureTrigger

This trigger is triggered when the scan job itself fails, regardless of the result. Corresponds to the JSON property jobFailureTrigger



2888
2889
2890
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2888

def job_failure_trigger
  @job_failure_trigger
end

#recipientsGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DataQualitySpecPostScanActionsRecipients

The individuals or groups who are designated to receive notifications upon triggers. Corresponds to the JSON property recipients



2894
2895
2896
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2894

def recipients
  @recipients
end

#score_threshold_triggerGoogle::Apis::DataplexV1::GoogleCloudDataplexV1DataQualitySpecPostScanActionsScoreThresholdTrigger

This trigger is triggered when the DQ score in the job result is less than a specified input score. Corresponds to the JSON property scoreThresholdTrigger



2900
2901
2902
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2900

def score_threshold_trigger
  @score_threshold_trigger
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2907
2908
2909
2910
2911
2912
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2907

def update!(**args)
  @job_end_trigger = args[:job_end_trigger] if args.key?(:job_end_trigger)
  @job_failure_trigger = args[:job_failure_trigger] if args.key?(:job_failure_trigger)
  @recipients = args[:recipients] if args.key?(:recipients)
  @score_threshold_trigger = args[:score_threshold_trigger] if args.key?(:score_threshold_trigger)
end