DLPApi

inspect

Perform data inspection to identify sensitive information in text

DLPApi.inspect(text, informationTypes)

Parameters

text: Text to be inspected for sensitive information as str.
informationTypes: List of information types to search for in the text.

Returns

A Result object indicating the success or failure of the inspection operation.

redactImage

Redact sensitive information from an image.

DLPApi.redactImage(byteImage, imageType, informationType)

Parameters

byteImage: Byte data representing the image to be redacted.
imageType: Type of the image (e.g., IMAGE_JPEG, IMAGE_PNG).
informationType: Type of information to redact from the image.

Returns

A Result object indicating the success or failure of the redaction operation.

redactPII

Redact Personally Identifiable Information (PII) from text.

DLPApi.redactPII(text)

Parameters

text: Text containing PII to be redacted as str.

Returns

A Result object indicating the success or failure of the redaction operation.

Last updated