Trillo Workbench Python SDK
  • Introduction
    • Sample Example
  • BaseApi (Basic APIs)
  • LogApi (Logging APIs)
  • DSApi (Database APIs)
    • Overview
    • Retrieve APIs
    • Create and Update API
    • Delete APIs
    • Empty Table
    • Sample Functions Using API
  • FuncApi (Function APIs)
  • TaskApi (Task APIs)
  • CacheApi (Memory Cache APIs)
    • Delete APIs
    • Create and Update API
    • Retrieve APIs
  • StorageApi
  • CallLogger (Logging Level APIs)
  • CommandApi
  • OAuth1Api
  • Google Cloud APIs
    • BigQueryApi (BigQuery APIs)
    • GCSApi (Cloud Storage APIs)
    • GCPAuthApi
    • GCPRestApi
    • GCPTokenInfo
  • Metadata API (MetaApi)
    • Create and Update API
    • All Retrieve-Only
  • UMApi (User, Tenant, Roles APIs)
  • HttpApi (HTTP APIs)
  • SFTPApi
  • FileUtil
  • CSVApi
  • EmailApi (Email APIs)
  • DLPApi
  • DocApi
  • FolderApi
  • GCPGenApi
  • Util
Powered by GitBook
On this page
  • inspect
  • redactImage
  • redactPII

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.
PreviousEmailApi (Email APIs)NextDocApi

Last updated 1 year ago