Class: Google::Privacy::Dlp::V2::RedactImageRequest::ImageRedactionConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb

Overview

Configuration for determining how redaction of images should occur.

Instance Attribute Summary collapse

Instance Attribute Details

#info_typeGoogle::Privacy::Dlp::V2::InfoType

Returns Only one per info_type should be provided per request. If not specified, and redact_all_text is false, the DLP API will redact all text that it matches against all info_types that are found, but not specified in another ImageRedactionConfig.

Returns:

  • (Google::Privacy::Dlp::V2::InfoType)

    Only one per info_type should be provided per request. If not specified, and redact_all_text is false, the DLP API will redact all text that it matches against all info_types that are found, but not specified in another ImageRedactionConfig.



302
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 302

class ImageRedactionConfig; end

#redact_all_texttrue, false

Returns If true, all text found in the image, regardless whether it matches an info_type, is redacted.

Returns:

  • (true, false)

    If true, all text found in the image, regardless whether it matches an info_type, is redacted.



302
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 302

class ImageRedactionConfig; end

#redaction_colorGoogle::Privacy::Dlp::V2::Color

Returns The color to use when redacting content from an image. If not specified, the default is black.

Returns:



302
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 302

class ImageRedactionConfig; end