ImageConfigResponse

data class ImageConfigResponse(val additionalInfoTypes: List<String>, val excludeInfoTypes: List<String>, val textRedactionMode: String)

Specifies how to handle de-identification of image pixels.

Constructors

Link copied to clipboard
fun ImageConfigResponse(additionalInfoTypes: List<String>, excludeInfoTypes: List<String>, textRedactionMode: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Additional InfoTypes to redact in the images in addition to those used by text_redaction_mode. Can only be used when text_redaction_mode is set to REDACT_SENSITIVE_TEXT, REDACT_SENSITIVE_TEXT_CLEAN_DESCRIPTORS or TEXT_REDACTION_MODE_UNSPECIFIED.

Link copied to clipboard

InfoTypes to skip redacting, overriding those used by text_redaction_mode. Can only be used when text_redaction_mode is set to REDACT_SENSITIVE_TEXT or REDACT_SENSITIVE_TEXT_CLEAN_DESCRIPTORS.

Link copied to clipboard

Determines how to redact text from image.