Class: Google::Cloud::Dlp::V2::CustomInfoType::DetectionRule::Proximity

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/privacy/dlp/v2/storage.rb

Overview

Message for specifying a window around a finding to apply a detection rule.

Instance Attribute Summary collapse

Instance Attribute Details

#window_after::Integer

Returns Number of characters after the finding to consider.

Returns:

  • (::Integer)

    Number of characters after the finding to consider.



237
238
239
240
# File 'proto_docs/google/privacy/dlp/v2/storage.rb', line 237

class Proximity
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#window_before::Integer

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



237
238
239
240
# File 'proto_docs/google/privacy/dlp/v2/storage.rb', line 237

class Proximity
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end