Data Loss Prevention V2 Client - Class Action (1.15.1)

Reference documentation and code samples for the Data Loss Prevention V2 Client class Action.

A task to execute on the completion of a job.

See https://cloud.google.com/sensitive-data-protection/docs/concepts-actions to learn more.

Generated from protobuf message google.privacy.dlp.v2.Action

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ save_findings
Google\Cloud\Dlp\V2\Action\SaveFindings

Save resulting findings in a provided location.

↳ pub_sub
Google\Cloud\Dlp\V2\Action\PublishToPubSub

Publish a notification to a Pub/Sub topic.

↳ publish_summary_to_cscc
Google\Cloud\Dlp\V2\Action\PublishSummaryToCscc

Publish summary to Cloud Security Command Center (Alpha).

↳ publish_findings_to_cloud_data_catalog
↳ deidentify
Google\Cloud\Dlp\V2\Action\Deidentify

Create a de-identified copy of the input data.

↳ job_notification_emails
Google\Cloud\Dlp\V2\Action\JobNotificationEmails

Sends an email when the job completes. The email goes to IAM project owners and technical Essential Contacts .

↳ publish_to_stackdriver
Google\Cloud\Dlp\V2\Action\PublishToStackdriver

Enable Stackdriver metric dlp.googleapis.com/finding_count.

getSaveFindings

Save resulting findings in a provided location.

Returns
Type
Description

hasSaveFindings

setSaveFindings

Save resulting findings in a provided location.

Parameter
Name
Description
Returns
Type
Description
$this

getPubSub

Publish a notification to a Pub/Sub topic.

Returns
Type
Description

hasPubSub

setPubSub

Publish a notification to a Pub/Sub topic.

Parameter
Name
Description
Returns
Type
Description
$this

getPublishSummaryToCscc

Publish summary to Cloud Security Command Center (Alpha).

Returns
Type
Description

hasPublishSummaryToCscc

setPublishSummaryToCscc

Publish summary to Cloud Security Command Center (Alpha).

Parameter
Name
Description
Returns
Type
Description
$this

getPublishFindingsToCloudDataCatalog

Publish findings to Cloud Datahub.

hasPublishFindingsToCloudDataCatalog

setPublishFindingsToCloudDataCatalog

Publish findings to Cloud Datahub.

Returns
Type
Description
$this

getDeidentify

Create a de-identified copy of the input data.

Returns
Type
Description

hasDeidentify

setDeidentify

Create a de-identified copy of the input data.

Parameter
Name
Description
Returns
Type
Description
$this

getJobNotificationEmails

Sends an email when the job completes. The email goes to IAM project owners and technical Essential Contacts .

Returns
Type
Description

hasJobNotificationEmails

setJobNotificationEmails

Sends an email when the job completes. The email goes to IAM project owners and technical Essential Contacts .

Parameter
Name
Description
Returns
Type
Description
$this

getPublishToStackdriver

Enable Stackdriver metric dlp.googleapis.com/finding_count.

Returns
Type
Description

hasPublishToStackdriver

setPublishToStackdriver

Enable Stackdriver metric dlp.googleapis.com/finding_count.

Parameter
Name
Description
Returns
Type
Description
$this

getAction

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: