Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ReplaceDictionaryConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb

Overview

Replace each input value with a value randomly selected from the dictionary.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2ReplaceDictionaryConfig

Returns a new instance of GooglePrivacyDlpV2ReplaceDictionaryConfig.



8684
8685
8686
# File 'lib/google/apis/dlp_v2/classes.rb', line 8684

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#word_listGoogle::Apis::DlpV2::GooglePrivacyDlpV2WordList

Message defining a list of words or phrases to search for in the data. Corresponds to the JSON property wordList



8682
8683
8684
# File 'lib/google/apis/dlp_v2/classes.rb', line 8682

def word_list
  @word_list
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8689
8690
8691
# File 'lib/google/apis/dlp_v2/classes.rb', line 8689

def update!(**args)
  @word_list = args[:word_list] if args.key?(:word_list)
end