Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentRequest
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentRequest
- 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
Request to search for potentially sensitive info in a list of items.
Instance Attribute Summary collapse
-
#inspect_config ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig
Configuration description of the scanning process.
-
#items ⇒ Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ContentItem>
The list of items to inspect.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1InspectContentRequest
constructor
A new instance of GooglePrivacyDlpV2beta1InspectContentRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1InspectContentRequest
Returns a new instance of GooglePrivacyDlpV2beta1InspectContentRequest
1744 1745 1746 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1744 def initialize(**args) update!(**args) end |
Instance Attribute Details
#inspect_config ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig
Configuration description of the scanning process.
When used with redactContent only info_types and min_likelihood are currently
used.
Corresponds to the JSON property inspectConfig
1735 1736 1737 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1735 def inspect_config @inspect_config end |
#items ⇒ Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ContentItem>
The list of items to inspect. Items in a single request are
considered "related" unless inspect_config.independent_inputs is true.
Up to 100 are allowed per request.
Corresponds to the JSON property items
1742 1743 1744 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1742 def items @items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1749 1750 1751 1752 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1749 def update!(**args) @inspect_config = args[:inspect_config] if args.key?(:inspect_config) @items = args[:items] if args.key?(:items) end |