Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::RedactImageResponse (v0.17.0)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::RedactImageResponse.

Results of redacting an image.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#extracted_text

def extracted_text() -> ::String
Returns
  • (::String) — If an image was being inspected and the InspectConfig's include_quote was set to true, then this field will include all text, if any, that was found in the image.

#extracted_text=

def extracted_text=(value) -> ::String
Parameter
  • value (::String) — If an image was being inspected and the InspectConfig's include_quote was set to true, then this field will include all text, if any, that was found in the image.
Returns
  • (::String) — If an image was being inspected and the InspectConfig's include_quote was set to true, then this field will include all text, if any, that was found in the image.

#inspect_result

def inspect_result() -> ::Google::Cloud::Dlp::V2::InspectResult
Returns

#inspect_result=

def inspect_result=(value) -> ::Google::Cloud::Dlp::V2::InspectResult
Parameter
Returns

#redacted_image

def redacted_image() -> ::String
Returns
  • (::String) — The redacted image. The type will be the same as the original image.

#redacted_image=

def redacted_image=(value) -> ::String
Parameter
  • value (::String) — The redacted image. The type will be the same as the original image.
Returns
  • (::String) — The redacted image. The type will be the same as the original image.