Data Loss Prevention V2 Client - Class Action (1.8.6)

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/dlp/docs/concepts-actions to learn more.

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

Methods

__construct

Constructor.

Parameters
NameDescription
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 Google\Cloud\Dlp\V2\Action\PublishFindingsToCloudDataCatalog

Publish findings to Cloud Datahub.

↳ 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
TypeDescription
Google\Cloud\Dlp\V2\Action\SaveFindings|null

hasSaveFindings

setSaveFindings

Save resulting findings in a provided location.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\Action\SaveFindings
Returns
TypeDescription
$this

getPubSub

Publish a notification to a Pub/Sub topic.

Returns
TypeDescription
Google\Cloud\Dlp\V2\Action\PublishToPubSub|null

hasPubSub

setPubSub

Publish a notification to a Pub/Sub topic.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\Action\PublishToPubSub
Returns
TypeDescription
$this

getPublishSummaryToCscc

Publish summary to Cloud Security Command Center (Alpha).

Returns
TypeDescription
Google\Cloud\Dlp\V2\Action\PublishSummaryToCscc|null

hasPublishSummaryToCscc

setPublishSummaryToCscc

Publish summary to Cloud Security Command Center (Alpha).

Parameter
NameDescription
var Google\Cloud\Dlp\V2\Action\PublishSummaryToCscc
Returns
TypeDescription
$this

getPublishFindingsToCloudDataCatalog

Publish findings to Cloud Datahub.

Returns
TypeDescription
Google\Cloud\Dlp\V2\Action\PublishFindingsToCloudDataCatalog|null

hasPublishFindingsToCloudDataCatalog

setPublishFindingsToCloudDataCatalog

Publish findings to Cloud Datahub.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\Action\PublishFindingsToCloudDataCatalog
Returns
TypeDescription
$this

getDeidentify

Create a de-identified copy of the input data.

Returns
TypeDescription
Google\Cloud\Dlp\V2\Action\Deidentify|null

hasDeidentify

setDeidentify

Create a de-identified copy of the input data.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\Action\Deidentify
Returns
TypeDescription
$this

getJobNotificationEmails

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

Returns
TypeDescription
Google\Cloud\Dlp\V2\Action\JobNotificationEmails|null

hasJobNotificationEmails

setJobNotificationEmails

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

Parameter
NameDescription
var Google\Cloud\Dlp\V2\Action\JobNotificationEmails
Returns
TypeDescription
$this

getPublishToStackdriver

Enable Stackdriver metric dlp.googleapis.com/finding_count.

Returns
TypeDescription
Google\Cloud\Dlp\V2\Action\PublishToStackdriver|null

hasPublishToStackdriver

setPublishToStackdriver

Enable Stackdriver metric dlp.googleapis.com/finding_count.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\Action\PublishToStackdriver
Returns
TypeDescription
$this

getAction

Returns
TypeDescription
string