0.6.0 (latest) 0.5.0 0.4.4 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Ces V1 Client class RedactionConfig.

Configuration to instruct how sensitive data should be handled.

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

## Namespace

Google \\ Cloud \\ Ces \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ enable_redaction` | `bool` Optional. If true, redaction will be applied in various logging scenarios, including conversation history, Cloud Logging and audio recording. |
| `↳ inspect_template` | `string` Optional. [DLP](https://cloud.google.com/dlp/docs) inspect template name to configure detection of sensitive data types. Format: `projects/{project}/locations/{location}/inspectTemplates/{inspect_template}` |
| `↳ deidentify_template` | `string` Optional. [DLP](https://cloud.google.com/dlp/docs) deidentify template name to instruct on how to de-identify content. Format: `projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}` |

### getEnableRedaction

Optional. If true, redaction will be applied in various logging scenarios,
including conversation history, Cloud Logging and audio recording.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setEnableRedaction

Optional. If true, redaction will be applied in various logging scenarios,
including conversation history, Cloud Logging and audio recording.

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

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

### getInspectTemplate

Optional. [DLP](https://cloud.google.com/dlp/docs) inspect template name to
configure detection of sensitive data types.

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

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

### setInspectTemplate

Optional. [DLP](https://cloud.google.com/dlp/docs) inspect template name to
configure detection of sensitive data types.

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

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

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

### getDeidentifyTemplate

Optional. [DLP](https://cloud.google.com/dlp/docs) deidentify template name
to instruct on how to de-identify content.

Format:
`projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}`

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

### setDeidentifyTemplate

Optional. [DLP](https://cloud.google.com/dlp/docs) deidentify template name
to instruct on how to de-identify content.

Format:
`projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}`

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

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