# Google Cloud Security Command Center V1 Client - Class CloudDlpInspection (2.5.1)

2.5.1 (latest) 2.5.0 2.4.2 2.3.0 2.2.1 2.1.1 2.0.4 1.32.0 1.31.0 1.30.0 1.29.0 1.28.2 1.21.0 1.20.2 1.19.1 1.18.0 1.17.0 1.16.0 1.15.1 1.14.2 1.13.1 Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class CloudDlpInspection.

Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection
job](https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced
the finding.

Generated from protobuf message `google.cloud.securitycenter.v1.CloudDlpInspection`

## Namespace

Google \\ Cloud \\ SecurityCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ inspect_job` | `string` Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`. |
| `↳ info_type` | `string` The type of information (or *[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)* ) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`. |
| `↳ info_type_count` | `int|string` The number of times Cloud DLP found this infoType within this job and resource. |
| `↳ full_scan` | `bool` Whether Cloud DLP scanned the complete resource or a sampled subset. |

### getInspectJob

Name of the inspection job, for example,
`projects/123/locations/europe/dlpJobs/i-8383929`.

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

### setInspectJob

Name of the inspection job, for example,
`projects/123/locations/europe/dlpJobs/i-8383929`.

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

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

### getInfoType

The type of information (or
*[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)* ) found,
for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.

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

### setInfoType

The type of information (or
*[infoType](https://cloud.google.com/dlp/docs/infotypes-reference)* ) found,
for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.

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

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

### getInfoTypeCount

The number of times Cloud DLP found this infoType within this job
and resource.

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

### setInfoTypeCount

The number of times Cloud DLP found this infoType within this job
and resource.

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

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

### getFullScan

Whether Cloud DLP scanned the complete resource or a sampled subset.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setFullScan

Whether Cloud DLP scanned the complete resource or a sampled subset.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

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