Interface RedactionConfigOrBuilder (0.1.0)

public interface RedactionConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeidentifyTemplate()

public abstract String getDeidentifyTemplate()

Optional. DLP deidentify template name to instruct on how to de-identify content.

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

string deidentify_template = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The deidentifyTemplate.

getDeidentifyTemplateBytes()

public abstract ByteString getDeidentifyTemplateBytes()

Optional. DLP deidentify template name to instruct on how to de-identify content.

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

string deidentify_template = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for deidentifyTemplate.

getEnableRedaction()

public abstract boolean getEnableRedaction()

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

bool enable_redaction = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableRedaction.

getInspectTemplate()

public abstract String getInspectTemplate()

Optional. DLP inspect template name to configure detection of sensitive data types.

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

string inspect_template = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The inspectTemplate.

getInspectTemplateBytes()

public abstract ByteString getInspectTemplateBytes()

Optional. DLP inspect template name to configure detection of sensitive data types.

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

string inspect_template = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for inspectTemplate.