Data Loss Prevention V2 Client - Class RiskAnalysisJobConfig (1.10.2)

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/dlp/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
NameDescription
data array

Optional. Data for populating the Message object.

↳ privacy_metric Google\Cloud\Dlp\V2\PrivacyMetric

Privacy metric to compute.

↳ source_table Google\Cloud\Dlp\V2\BigQueryTable

Input dataset to compute metrics over.

↳ actions array<Google\Cloud\Dlp\V2\Action>

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

getPrivacyMetric

Privacy metric to compute.

Returns
TypeDescription
Google\Cloud\Dlp\V2\PrivacyMetric|null

hasPrivacyMetric

clearPrivacyMetric

setPrivacyMetric

Privacy metric to compute.

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

getSourceTable

Input dataset to compute metrics over.

Returns
TypeDescription
Google\Cloud\Dlp\V2\BigQueryTable|null

hasSourceTable

clearSourceTable

setSourceTable

Input dataset to compute metrics over.

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

getActions

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setActions

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

Parameter
NameDescription
var array<Google\Cloud\Dlp\V2\Action>
Returns
TypeDescription
$this