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 \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Cloud\Dlp\V2\PrivacyMetric|null |
hasPrivacyMetric
clearPrivacyMetric
setPrivacyMetric
Privacy metric to compute.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dlp\V2\PrivacyMetric
|
Returns | |
---|---|
Type | Description |
$this |
getSourceTable
Input dataset to compute metrics over.
Returns | |
---|---|
Type | Description |
Google\Cloud\Dlp\V2\BigQueryTable|null |
hasSourceTable
clearSourceTable
setSourceTable
Input dataset to compute metrics over.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dlp\V2\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<Google\Cloud\Dlp\V2\Action>
|
Returns | |
---|---|
Type | Description |
$this |