# Data Loss Prevention V2 Client - Class RiskAnalysisJobConfig (2.13.0)

2.13.0 (latest) 2.12.0 2.11.0 2.10.0 2.9.2 2.8.1 2.7.0 2.6.1 2.4.1 2.3.0 2.2.3 2.1.0 2.0.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.1 1.14.0 1.13.2 1.12.0 1.11.0 1.10.2 1.9.0 1.8.6 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` | `https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.PrivacyMetric` Privacy metric to compute. |
| `↳ source_table` | `https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.BigQueryTable` Input dataset to compute metrics over. |
| `↳ actions` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/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** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.PrivacyMetric|null` |   |

### hasPrivacyMetric

### clearPrivacyMetric

### setPrivacyMetric

Privacy metric to compute.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.PrivacyMetric` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSourceTable

Input dataset to compute metrics over.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.BigQueryTable|null` |   |

### hasSourceTable

### clearSourceTable

### setSourceTable

Input dataset to compute metrics over.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/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** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.Action>` |   |

### setActions

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.Action>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |