GooglePrivacyDlpV2LikelihoodAdjustment class
Message for specifying an adjustment to the likelihood of a finding as part of a detection rule.
Constructors
-
GooglePrivacyDlpV2LikelihoodAdjustment({Input<
GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood> ? fixedLikelihood, Input<int> ? relativeLikelihood}) -
Creates a new GooglePrivacyDlpV2LikelihoodAdjustment.
fixedLikelihoodSet the likelihood of a finding to a fixed value.relativeLikelihoodIncrease or decrease the likelihood by the specified number of levels. For example, if a finding would bePOSSIBLEwithout the detection rule andrelative_likelihoodis 1, then it is upgraded toLIKELY, while a value of -1 would downgrade it toUNLIKELY. Likelihood may never drop belowVERY_UNLIKELYor exceedVERY_LIKELY, so applying an adjustment of 1 followed by an adjustment of -1 when base likelihood isVERY_LIKELYwill result in a final likelihood ofLIKELY.const -
GooglePrivacyDlpV2LikelihoodAdjustment.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
fixedLikelihood
→ Input<
GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood> ? -
Set the likelihood of a finding to a fixed value.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
relativeLikelihood
→ Input<
int> ? -
Increase or decrease the likelihood by the specified number of levels. For example, if a finding would be
POSSIBLEwithout the detection rule andrelative_likelihoodis 1, then it is upgraded toLIKELY, while a value of -1 would downgrade it toUNLIKELY. Likelihood may never drop belowVERY_UNLIKELYor exceedVERY_LIKELY, so applying an adjustment of 1 followed by an adjustment of -1 when base likelihood isVERY_LIKELYwill result in a final likelihood ofLIKELY.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited