Class: Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubCondition
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubCondition
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb
Overview
A condition consisting of a value.
Instance Attribute Summary collapse
-
#minimum_risk_score ⇒ String
The minimum data risk score that triggers the condition.
-
#minimum_sensitivity_score ⇒ String
The minimum sensitivity level that triggers the condition.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2PubSubCondition
constructor
A new instance of GooglePrivacyDlpV2PubSubCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2PubSubCondition
Returns a new instance of GooglePrivacyDlpV2PubSubCondition.
7528 7529 7530 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7528 def initialize(**args) update!(**args) end |
Instance Attribute Details
#minimum_risk_score ⇒ String
The minimum data risk score that triggers the condition.
Corresponds to the JSON property minimumRiskScore
7521 7522 7523 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7521 def minimum_risk_score @minimum_risk_score end |
#minimum_sensitivity_score ⇒ String
The minimum sensitivity level that triggers the condition.
Corresponds to the JSON property minimumSensitivityScore
7526 7527 7528 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7526 def minimum_sensitivity_score @minimum_sensitivity_score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7533 7534 7535 7536 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7533 def update!(**args) @minimum_risk_score = args[:minimum_risk_score] if args.key?(:minimum_risk_score) @minimum_sensitivity_score = args[:minimum_sensitivity_score] if args.key?(:minimum_sensitivity_score) end |