Class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeLimit
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeLimit
- 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
Max findings configuration per infoType, per content item or long running DlpJob.
Instance Attribute Summary collapse
-
#info_type ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType
Type of information detected by the API.
-
#max_findings ⇒ Fixnum
Max findings limit for the given infoType.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2InfoTypeLimit
constructor
A new instance of GooglePrivacyDlpV2InfoTypeLimit.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2InfoTypeLimit
Returns a new instance of GooglePrivacyDlpV2InfoTypeLimit.
5433 5434 5435 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5433 def initialize(**args) update!(**args) end |
Instance Attribute Details
#info_type ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType
Type of information detected by the API.
Corresponds to the JSON property infoType
5426 5427 5428 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5426 def info_type @info_type end |
#max_findings ⇒ Fixnum
Max findings limit for the given infoType.
Corresponds to the JSON property maxFindings
5431 5432 5433 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5431 def max_findings @max_findings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5438 5439 5440 5441 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5438 def update!(**args) @info_type = args[:info_type] if args.key?(:info_type) @max_findings = args[:max_findings] if args.key?(:max_findings) end |