Class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeSummary

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

The infoType details for this column.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2InfoTypeSummary

Returns a new instance of GooglePrivacyDlpV2InfoTypeSummary.



3516
3517
3518
# File 'lib/google/apis/dlp_v2/classes.rb', line 3516

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)


3509
3510
3511
# File 'lib/google/apis/dlp_v2/classes.rb', line 3509

def estimated_prevalence
  @estimated_prevalence
end

#info_typeGoogle::Apis::DlpV2::GooglePrivacyDlpV2InfoType

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



3514
3515
3516
# File 'lib/google/apis/dlp_v2/classes.rb', line 3514

def info_type
  @info_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3521
3522
3523
3524
# File 'lib/google/apis/dlp_v2/classes.rb', line 3521

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