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.



6823
6824
6825
# File 'lib/google/apis/dlp_v2/classes.rb', line 6823

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)


6821
6822
6823
# File 'lib/google/apis/dlp_v2/classes.rb', line 6821

def approx_num_phrases
  @approx_num_phrases
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6828
6829
6830
# File 'lib/google/apis/dlp_v2/classes.rb', line 6828

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