Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeStatistics

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

Statistics regarding a specific InfoType.

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

Returns a new instance of GooglePrivacyDlpV2beta1InfoTypeStatistics



1603
1604
1605
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1603

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

Instance Attribute Details

#countFixnum

Number of findings for this info type. Corresponds to the JSON property count

Returns:

  • (Fixnum)


1596
1597
1598
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1596

def count
  @count
end

#info_typeGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType

Type of information detected by the API. Corresponds to the JSON property infoType



1601
1602
1603
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1601

def info_type
  @info_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1608
1609
1610
1611
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1608

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