1.1.0 (latest) 1.0.0

    public sealed class RedactionConfig : IMessage<RedactionConfig>, IEquatable<RedactionConfig>, IDeepCloneable<RedactionConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class RedactionConfig.

Configuration to instruct how sensitive data should be handled.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> RedactionConfig

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[RedactionConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.RedactionConfig.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RedactionConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.RedactionConfig.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[RedactionConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.RedactionConfig.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Ces.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.md.txt)

## Assembly

Google.Cloud.Ces.V1.dll

## Constructors

### RedactionConfig()

    public RedactionConfig()

### RedactionConfig(RedactionConfig)

    public RedactionConfig(RedactionConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `RedactionConfig` |

## Properties

### DeidentifyTemplate

    public string DeidentifyTemplate { get; set; }

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}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### DeidentifyTemplateAsDeidentifyTemplateName

    public DeidentifyTemplateName DeidentifyTemplateAsDeidentifyTemplateName { get; set; }

[DeidentifyTemplateName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.DeidentifyTemplateName.md.txt)-typed view over the [DeidentifyTemplate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.RedactionConfig.md.txt#Google_Cloud_Ces_V1_RedactionConfig_DeidentifyTemplate) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `DeidentifyTemplateName` |   |

### EnableRedaction

    public bool EnableRedaction { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### InspectTemplate

    public string InspectTemplate { get; set; }

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}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### InspectTemplateAsInspectTemplateName

    public InspectTemplateName InspectTemplateAsInspectTemplateName { get; set; }

[InspectTemplateName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.InspectTemplateName.md.txt)-typed view over the [InspectTemplate](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.RedactionConfig.md.txt#Google_Cloud_Ces_V1_RedactionConfig_InspectTemplate) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `InspectTemplateName` |   |