Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule::Proximity.
Message for specifying a window around a finding to apply a detection rule.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#window_after
def window_after() -> ::Integer
Returns
- (::Integer) — Number of characters after the finding to consider.
#window_after=
def window_after=(value) -> ::Integer
Parameter
- value (::Integer) — Number of characters after the finding to consider.
Returns
- (::Integer) — Number of characters after the finding to consider.
#window_before
def window_before() -> ::Integer
Returns
- (::Integer) — Number of characters before the finding to consider. For tabular data, if you want to modify the likelihood of an entire column of findngs, set this to 1. For more information, see Hotword example: Set the match likelihood of a table column.
#window_before=
def window_before=(value) -> ::Integer
Parameter
- value (::Integer) — Number of characters before the finding to consider. For tabular data, if you want to modify the likelihood of an entire column of findngs, set this to 1. For more information, see Hotword example: Set the match likelihood of a table column.
Returns
- (::Integer) — Number of characters before the finding to consider. For tabular data, if you want to modify the likelihood of an entire column of findngs, set this to 1. For more information, see Hotword example: Set the match likelihood of a table column.