public sealed class RedactionConfig : IMessage<RedactionConfig>, IEquatable<RedactionConfig>, IDeepCloneable<RedactionConfig>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class RedactionConfig.
Configuration to instruct how sensitive data should be handled.
Implements
IMessageRedactionConfig, IEquatableRedactionConfig, IDeepCloneableRedactionConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1Assembly
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 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-typed view over the 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 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-typed view over the InspectTemplate resource name property.
| Property Value | |
|---|---|
| Type | Description |
InspectTemplateName |
|