Class: Google::Apis::DlpV2::GooglePrivacyDlpV2WordList

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

Overview

Message defining a list of words or phrases to search for in the data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2WordList

Returns a new instance of GooglePrivacyDlpV2WordList.



6443
6444
6445
# File 'generated/google/apis/dlp_v2/classes.rb', line 6443

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

Instance Attribute Details

#wordsArray<String>

Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits. [required] Corresponds to the JSON property words

Returns:

  • (Array<String>)


6441
6442
6443
# File 'generated/google/apis/dlp_v2/classes.rb', line 6441

def words
  @words
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6448
6449
6450
# File 'generated/google/apis/dlp_v2/classes.rb', line 6448

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