Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::AdjustmentRule.
Rule that specifies conditions when a certain infoType's finding details should be adjusted.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#adjust_by_image_findings
def adjust_by_image_findings() -> ::Google::Cloud::Dlp::V2::AdjustByImageFindings-
(::Google::Cloud::Dlp::V2::AdjustByImageFindings) — AdjustmentRule condition for image findings.
Note: The following fields are mutually exclusive:
adjust_by_image_findings,adjust_by_matching_info_types. If a field in that set is populated, all other fields in the set will automatically be cleared.
#adjust_by_image_findings=
def adjust_by_image_findings=(value) -> ::Google::Cloud::Dlp::V2::AdjustByImageFindings-
value (::Google::Cloud::Dlp::V2::AdjustByImageFindings) — AdjustmentRule condition for image findings.
Note: The following fields are mutually exclusive:
adjust_by_image_findings,adjust_by_matching_info_types. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dlp::V2::AdjustByImageFindings) — AdjustmentRule condition for image findings.
Note: The following fields are mutually exclusive:
adjust_by_image_findings,adjust_by_matching_info_types. If a field in that set is populated, all other fields in the set will automatically be cleared.
#adjust_by_matching_info_types
def adjust_by_matching_info_types() -> ::Google::Cloud::Dlp::V2::AdjustByMatchingInfoTypes-
(::Google::Cloud::Dlp::V2::AdjustByMatchingInfoTypes) — Set of infoTypes for which findings would affect this rule.
Note: The following fields are mutually exclusive:
adjust_by_matching_info_types,adjust_by_image_findings. If a field in that set is populated, all other fields in the set will automatically be cleared.
#adjust_by_matching_info_types=
def adjust_by_matching_info_types=(value) -> ::Google::Cloud::Dlp::V2::AdjustByMatchingInfoTypes-
value (::Google::Cloud::Dlp::V2::AdjustByMatchingInfoTypes) — Set of infoTypes for which findings would affect this rule.
Note: The following fields are mutually exclusive:
adjust_by_matching_info_types,adjust_by_image_findings. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dlp::V2::AdjustByMatchingInfoTypes) — Set of infoTypes for which findings would affect this rule.
Note: The following fields are mutually exclusive:
adjust_by_matching_info_types,adjust_by_image_findings. If a field in that set is populated, all other fields in the set will automatically be cleared.
#likelihood_adjustment
def likelihood_adjustment() -> ::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule::LikelihoodAdjustment- (::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule::LikelihoodAdjustment) — Likelihood adjustment to apply to the infoType.
#likelihood_adjustment=
def likelihood_adjustment=(value) -> ::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule::LikelihoodAdjustment- value (::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule::LikelihoodAdjustment) — Likelihood adjustment to apply to the infoType.
- (::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule::LikelihoodAdjustment) — Likelihood adjustment to apply to the infoType.