Data Loss Prevention V2 Client - Class RiskAnalysisJobConfig (2.2.1)

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

Configuration for a risk analysis job. See https://cloud.google.com/sensitive-data-protection/docs/concepts-risk-analysis to learn more.

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

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ privacy_metric PrivacyMetric

Privacy metric to compute.

↳ source_table BigQueryTable

Input dataset to compute metrics over.

↳ actions array<Action>

Actions to execute at the completion of the job. Are executed in the order provided.

getPrivacyMetric

Privacy metric to compute.

Returns
Type Description
PrivacyMetric|null

hasPrivacyMetric

clearPrivacyMetric

setPrivacyMetric

Privacy metric to compute.

Parameter
Name Description
var PrivacyMetric
Returns
Type Description
$this

getSourceTable

Input dataset to compute metrics over.

Returns
Type Description
BigQueryTable|null

hasSourceTable

clearSourceTable

setSourceTable

Input dataset to compute metrics over.

Parameter
Name Description
var BigQueryTable
Returns
Type Description
$this

getActions

Actions to execute at the completion of the job. Are executed in the order provided.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setActions

Actions to execute at the completion of the job. Are executed in the order provided.

Parameter
Name Description
var array<Action>
Returns
Type Description
$this