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.
7979 7980 7981 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7979 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
7972 7973 7974 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7972 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
7977 7978 7979 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7977 def minimum_sensitivity_score @minimum_sensitivity_score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7984 7985 7986 7987 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7984 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 |