Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeLimit
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeLimit
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/representations.rb
Overview
Max findings configuration per infoType, per content item or long running DlpJob.
Instance Attribute Summary collapse
-
#info_type ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType
Type of information detected by the API.
-
#max_findings ⇒ Fixnum
Max findings limit for the given infoType.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2InfoTypeLimit
constructor
A new instance of GooglePrivacyDlpV2beta2InfoTypeLimit.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2InfoTypeLimit
Returns a new instance of GooglePrivacyDlpV2beta2InfoTypeLimit
3516 3517 3518 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3516 def initialize(**args) update!(**args) end |
Instance Attribute Details
#info_type ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType
Type of information detected by the API.
Corresponds to the JSON property infoType
3509 3510 3511 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3509 def info_type @info_type end |
#max_findings ⇒ Fixnum
Max findings limit for the given infoType.
Corresponds to the JSON property maxFindings
3514 3515 3516 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3514 def max_findings @max_findings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3521 3522 3523 3524 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3521 def update!(**args) @info_type = args[:info_type] if args.key?(:info_type) @max_findings = args[:max_findings] if args.key?(:max_findings) end |