# Class RedactionConfig (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

    RedactionConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration to instruct how sensitive data should be
handled.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `enable_redaction` | `bool` Optional. If true, redaction will be applied in various logging scenarios, including conversation history, Cloud Logging and audio recording. |
| `inspect_template` | `str` Optional. `DLP `__ inspect template name to configure detection of sensitive data types. Format: `projects/{project}/locations/{location}/inspectTemplates/{inspect_template}` |
| `deidentify_template` | `str` Optional. `DLP `__ deidentify template name to instruct on how to de-identify content. Format: `projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}` |