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. fixedLikelihood Set the likelihood of a finding to a fixed value. relativeLikelihood Increase or decrease the likelihood by the specified number of levels. For example, if a finding would be POSSIBLE without the detection rule and relative_likelihood is 1, then it is upgraded to LIKELY, while a value of -1 would downgrade it to UNLIKELY. Likelihood may never drop below VERY_UNLIKELY or exceed VERY_LIKELY, so applying an adjustment of 1 followed by an adjustment of -1 when base likelihood is VERY_LIKELY will result in a final likelihood of LIKELY.
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 POSSIBLE without the detection rule and relative_likelihood is 1, then it is upgraded to LIKELY, while a value of -1 would downgrade it to UNLIKELY. Likelihood may never drop below VERY_UNLIKELY or exceed VERY_LIKELY, so applying an adjustment of 1 followed by an adjustment of -1 when base likelihood is VERY_LIKELY will result in a final likelihood of LIKELY.
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