Google Cloud Ces V1 Client - Class RedactionConfig (0.1.0)

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 inspect template name to configure detection of sensitive data types. Format: projects/{project}/locations/{location}/inspectTemplates/{inspect_template}

↳ deidentify_template string

Optional. DLP 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 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 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 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 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