Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1WordList

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2beta1WordList

Returns a new instance of GooglePrivacyDlpV2beta1WordList



3221
3222
3223
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3221

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>)


3219
3220
3221
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3219

def words
  @words
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3226
3227
3228
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3226

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