Class: Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/representations.rb
Overview
Request to search for potentially sensitive info in a list of items and replace it with a default or provided content.
Instance Attribute Summary collapse
-
#byte_item ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ByteContentItem
Container for bytes to inspect or redact.
-
#image_redaction_configs ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ImageRedactionConfig>
The configuration for specifying what content to redact from images.
-
#inspect_config ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig
Configuration description of the scanning process.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2RedactImageRequest
constructor
A new instance of GooglePrivacyDlpV2RedactImageRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2RedactImageRequest
Returns a new instance of GooglePrivacyDlpV2RedactImageRequest
3748 3749 3750 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 3748 def initialize(**args) update!(**args) end |
Instance Attribute Details
#byte_item ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ByteContentItem
Container for bytes to inspect or redact.
Corresponds to the JSON property byteItem
3734 3735 3736 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 3734 def byte_item @byte_item end |
#image_redaction_configs ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ImageRedactionConfig>
The configuration for specifying what content to redact from images.
Corresponds to the JSON property imageRedactionConfigs
3739 3740 3741 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 3739 def image_redaction_configs @image_redaction_configs end |
#inspect_config ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig
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
3746 3747 3748 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 3746 def inspect_config @inspect_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3753 3754 3755 3756 3757 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 3753 def update!(**args) @byte_item = args[:byte_item] if args.key?(:byte_item) @image_redaction_configs = args[:image_redaction_configs] if args.key?(:image_redaction_configs) @inspect_config = args[:inspect_config] if args.key?(:inspect_config) end |