class Google::Apis::DlpV2::GooglePrivacyDlpV2Proximity

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

Attributes

window_after[RW]

Number of characters after the finding to consider. Corresponds to the JSON property `windowAfter` @return [Fixnum]

window_before[RW]

Number of characters before the finding to consider. Corresponds to the JSON property `windowBefore` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 4690
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dlp_v2/classes.rb, line 4695
def update!(**args)
  @window_after = args[:window_after] if args.key?(:window_after)
  @window_before = args[:window_before] if args.key?(:window_before)
end