Class: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherInfoTypeSummary

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

Infotype details for other infoTypes found within a column.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2OtherInfoTypeSummary

Returns a new instance of GooglePrivacyDlpV2OtherInfoTypeSummary.



5854
5855
5856
# File 'lib/google/apis/dlp_v2/classes.rb', line 5854

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

Instance Attribute Details

#estimated_prevalenceFixnum

Approximate percentage of non-null rows that contained data detected by this infotype. Corresponds to the JSON property estimatedPrevalence

Returns:

  • (Fixnum)


5840
5841
5842
# File 'lib/google/apis/dlp_v2/classes.rb', line 5840

def estimated_prevalence
  @estimated_prevalence
end

#excluded_from_analysisBoolean Also known as: excluded_from_analysis?

Whether this infoType was excluded from sensitivity and risk analysis due to factors such as low prevalence (subject to change). Corresponds to the JSON property excludedFromAnalysis

Returns:

  • (Boolean)


5846
5847
5848
# File 'lib/google/apis/dlp_v2/classes.rb', line 5846

def excluded_from_analysis
  @excluded_from_analysis
end

#info_typeGoogle::Apis::DlpV2::GooglePrivacyDlpV2InfoType

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



5852
5853
5854
# File 'lib/google/apis/dlp_v2/classes.rb', line 5852

def info_type
  @info_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5859
5860
5861
5862
5863
# File 'lib/google/apis/dlp_v2/classes.rb', line 5859

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