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.



4901
4902
4903
# File 'lib/google/apis/dlp_v2/classes.rb', line 4901

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)


4899
4900
4901
# File 'lib/google/apis/dlp_v2/classes.rb', line 4899

def approx_num_phrases
  @approx_num_phrases
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4906
4907
4908
# File 'lib/google/apis/dlp_v2/classes.rb', line 4906

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