Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig
- 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
Configuration description of the scanning process. When used with redactContent only info_types and min_likelihood are currently used.
Instance Attribute Summary collapse
-
#custom_info_types ⇒ Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CustomInfoType>
Custom infoTypes provided by the user.
-
#exclude_info_types ⇒ Boolean
(also: #exclude_info_types?)
When true, excludes type information of the findings.
-
#include_quote ⇒ Boolean
(also: #include_quote?)
When true, a contextual quote from the data that triggered a finding is included in the response; see Finding.quote.
-
#info_types ⇒ Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType>
Restricts what info_types to look for.
-
#limits ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FindingLimits
Corresponds to the JSON property
limits. -
#min_likelihood ⇒ String
Only returns findings equal or above this threshold.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2InspectConfig
constructor
A new instance of GooglePrivacyDlpV2beta2InspectConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2InspectConfig
Returns a new instance of GooglePrivacyDlpV2beta2InspectConfig
3284 3285 3286 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3284 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_info_types ⇒ Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CustomInfoType>
Custom infoTypes provided by the user.
Corresponds to the JSON property customInfoTypes
3251 3252 3253 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3251 def custom_info_types @custom_info_types end |
#exclude_info_types ⇒ Boolean Also known as: exclude_info_types?
When true, excludes type information of the findings.
Corresponds to the JSON property excludeInfoTypes
3256 3257 3258 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3256 def exclude_info_types @exclude_info_types end |
#include_quote ⇒ Boolean Also known as: include_quote?
When true, a contextual quote from the data that triggered a finding is
included in the response; see Finding.quote.
Corresponds to the JSON property includeQuote
3263 3264 3265 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3263 def include_quote @include_quote end |
#info_types ⇒ Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType>
Restricts what info_types to look for. The values must correspond to
InfoType values returned by ListInfoTypes or found in documentation.
Empty info_types runs all enabled detectors.
Corresponds to the JSON property infoTypes
3271 3272 3273 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3271 def info_types @info_types end |
#limits ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2FindingLimits
Corresponds to the JSON property limits
3276 3277 3278 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3276 def limits @limits end |
#min_likelihood ⇒ String
Only returns findings equal or above this threshold. The default is
POSSIBLE.
Corresponds to the JSON property minLikelihood
3282 3283 3284 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3282 def min_likelihood @min_likelihood end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3289 3290 3291 3292 3293 3294 3295 3296 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3289 def update!(**args) @custom_info_types = args[:custom_info_types] if args.key?(:custom_info_types) @exclude_info_types = args[:exclude_info_types] if args.key?(:exclude_info_types) @include_quote = args[:include_quote] if args.key?(:include_quote) @info_types = args[:info_types] if args.key?(:info_types) @limits = args[:limits] if args.key?(:limits) @min_likelihood = args[:min_likelihood] if args.key?(:min_likelihood) end |