Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::AdjustmentRule (v1.16.0)

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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns

#likelihood_adjustment=

def likelihood_adjustment=(value) -> ::Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule::LikelihoodAdjustment
Parameter
Returns