DLPApi
inspect
DLPApi.inspect(text, informationTypes)text: Text to be inspected for sensitive information as str.
informationTypes: List of information types to search for in the text.A Result object indicating the success or failure of the inspection operation.redactImage
DLPApi.redactImage(byteImage, imageType, informationType)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.A Result object indicating the success or failure of the redaction operation.redactPII
Last updated