# Google Cloud Contact Center Insights V1 Client - Class RedactionConfig (2.4.2)

2.4.2 (latest) 2.4.1 2.3.3 2.2.1 2.1.1 2.0.1 1.9.5 1.8.0 1.7.1 1.6.2 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.3 Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class RedactionConfig.

DLP resources used for redaction while ingesting conversations.

DLP settings are applied to conversations ingested from the
`UploadConversation` and `IngestConversations` endpoints, including
conversation coming from CCAI Platform. They are not applied to conversations
ingested from the `CreateConversation` endpoint or the Dialogflow / Agent
Assist runtime integrations. When using Dialogflow / Agent Assist runtime
integrations, redaction should be performed in Dialogflow / Agent Assist.

Generated from protobuf message `google.cloud.contactcenterinsights.v1.RedactionConfig`

## Namespace

Google \\ Cloud \\ ContactCenterInsights \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ deidentify_template` | `string` The fully-qualified DLP deidentify template resource name. Format: `projects/{project}/deidentifyTemplates/{template}` |
| `↳ inspect_template` | `string` The fully-qualified DLP inspect template resource name. Format: `projects/{project}/locations/{location}/inspectTemplates/{template}` |

### getDeidentifyTemplate

The fully-qualified DLP deidentify template resource name.

Format:
`projects/{project}/deidentifyTemplates/{template}`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDeidentifyTemplate

The fully-qualified DLP deidentify template resource name.

Format:
`projects/{project}/deidentifyTemplates/{template}`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getInspectTemplate

The fully-qualified DLP inspect template resource name.

Format:
`projects/{project}/locations/{location}/inspectTemplates/{template}`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setInspectTemplate

The fully-qualified DLP inspect template resource name.

Format:
`projects/{project}/locations/{location}/inspectTemplates/{template}`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |