Class: Google::Apis::DlpV2::GooglePrivacyDlpV2LargeCustomDictionaryStats

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

Summary statistics of a custom dictionary.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2LargeCustomDictionaryStats

Returns a new instance of GooglePrivacyDlpV2LargeCustomDictionaryStats.



4540
4541
4542
# File 'lib/google/apis/dlp_v2/classes.rb', line 4540

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

Instance Attribute Details

#approx_num_phrasesFixnum

Approximate number of distinct phrases in the dictionary. Corresponds to the JSON property approxNumPhrases

Returns:

  • (Fixnum)


4538
4539
4540
# File 'lib/google/apis/dlp_v2/classes.rb', line 4538

def approx_num_phrases
  @approx_num_phrases
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4545
4546
4547
# File 'lib/google/apis/dlp_v2/classes.rb', line 4545

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