Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeLimit
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeLimit
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/representations.rb
Overview
Max findings configuration per info type, per content item or long running operation.
Instance Attribute Summary collapse
-
#info_type ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType
Type of information detected by the API.
-
#max_findings ⇒ Fixnum
Max findings limit for the given infoType.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1InfoTypeLimit
constructor
A new instance of GooglePrivacyDlpV2beta1InfoTypeLimit.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1InfoTypeLimit
Returns a new instance of GooglePrivacyDlpV2beta1InfoTypeLimit
1371 1372 1373 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1371 def initialize(**args) update!(**args) end |
Instance Attribute Details
#info_type ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType
Type of information detected by the API.
Corresponds to the JSON property infoType
1364 1365 1366 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1364 def info_type @info_type end |
#max_findings ⇒ Fixnum
Max findings limit for the given infoType.
Corresponds to the JSON property maxFindings
1369 1370 1371 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1369 def max_findings @max_findings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1376 1377 1378 1379 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1376 def update!(**args) @info_type = args[:info_type] if args.key?(:info_type) @max_findings = args[:max_findings] if args.key?(:max_findings) end |