Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ReplaceDictionaryConfig
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2ReplaceDictionaryConfig
- 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
-
#word_list ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2WordList
Message defining a list of words or phrases to search for in the data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2ReplaceDictionaryConfig
constructor
A new instance of GooglePrivacyDlpV2ReplaceDictionaryConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2ReplaceDictionaryConfig
Returns a new instance of GooglePrivacyDlpV2ReplaceDictionaryConfig.
8207 8208 8209 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8207 def initialize(**args) update!(**args) end |
Instance Attribute Details
#word_list ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2WordList
Message defining a list of words or phrases to search for in the data.
Corresponds to the JSON property wordList
8205 8206 8207 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8205 def word_list @word_list end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8212 8213 8214 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8212 def update!(**args) @word_list = args[:word_list] if args.key?(:word_list) end |