# Data Loss Prevention V2 Client - Class Result (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 Result.

All Result fields are updated while the job is processing.

Generated from protobuf message `google.privacy.dlp.v2.InspectDataSourceDetails.Result`

## Namespace

Google \\ Cloud \\ Dlp \\ V2 \\ InspectDataSourceDetails

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ processed_bytes` | `int|string` Total size in bytes that were processed. |
| `↳ total_estimated_bytes` | `int|string` Estimate of the number of bytes to process. |
| `↳ info_type_stats` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.InfoTypeStats>` Statistics of how many instances of each info type were found during inspect job. |
| `↳ num_rows_processed` | `int|string` Number of rows scanned after sampling and time filtering (applicable for row based stores such as BigQuery). |
| `↳ hybrid_stats` | `https://docs.cloud.google.com/php/docs/reference/cloud-dlp/latest/V2.HybridInspectStatistics` Statistics related to the processing of hybrid inspect. |

### getProcessedBytes

Total size in bytes that were processed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setProcessedBytes

Total size in bytes that were processed.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

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

### getTotalEstimatedBytes

Estimate of the number of bytes to process.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setTotalEstimatedBytes

Estimate of the number of bytes to process.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

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

### getInfoTypeStats

Statistics of how many instances of each info type were found during
inspect job.

| **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.InfoTypeStats>` |   |

### setInfoTypeStats

Statistics of how many instances of each info type were found during
inspect job.

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

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

### getNumRowsProcessed

Number of rows scanned after sampling and time filtering (applicable for
row based stores such as BigQuery).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setNumRowsProcessed

Number of rows scanned after sampling and time filtering (applicable for
row based stores such as BigQuery).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

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

### getHybridStats

Statistics related to the processing of hybrid inspect.

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

### hasHybridStats

### clearHybridStats

### setHybridStats

Statistics related to the processing of hybrid inspect.

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

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