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.



8686
8687
8688
# File 'lib/google/apis/dlp_v2/classes.rb', line 8686

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



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

def word_list
  @word_list
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8691
8692
8693
# File 'lib/google/apis/dlp_v2/classes.rb', line 8691

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