Class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeLimit

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/representations.rb

Overview

Max findings configuration per infoType, per content item or long running DlpJob.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2InfoTypeLimit

Returns a new instance of GooglePrivacyDlpV2InfoTypeLimit.



3003
3004
3005
# File 'generated/google/apis/dlp_v2/classes.rb', line 3003

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

Instance Attribute Details

#info_typeGoogle::Apis::DlpV2::GooglePrivacyDlpV2InfoType

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



2996
2997
2998
# File 'generated/google/apis/dlp_v2/classes.rb', line 2996

def info_type
  @info_type
end

#max_findingsFixnum

Max findings limit for the given infoType. Corresponds to the JSON property maxFindings

Returns:

  • (Fixnum)


3001
3002
3003
# File 'generated/google/apis/dlp_v2/classes.rb', line 3001

def max_findings
  @max_findings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3008
3009
3010
3011
# File 'generated/google/apis/dlp_v2/classes.rb', line 3008

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