Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1WordList
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1WordList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/representations.rb
Overview
Message defining a list of words or phrases to search for in the data.
Instance Attribute Summary collapse
-
#words ⇒ Array<String>
Words or phrases defining the dictionary.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1WordList
constructor
A new instance of GooglePrivacyDlpV2beta1WordList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1WordList
Returns a new instance of GooglePrivacyDlpV2beta1WordList
1575 1576 1577 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1575 def initialize(**args) update!(**args) end |
Instance Attribute Details
#words ⇒ Array<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
1573 1574 1575 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1573 def words @words end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1580 1581 1582 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1580 def update!(**args) @words = args[:words] if args.key?(:words) end |