# Security Command Center V2 API - Class Google::Cloud::SecurityCenter::V2::CloudDlpInspection (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::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.

## Inherits

- [Object](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-Kubernetes-Object)

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #full_scan

    def full_scan() -> ::Boolean

**Returns**

- (::Boolean) --- Whether Cloud DLP scanned the complete resource or a sampled subset.

### #full_scan=

    def full_scan=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Whether Cloud DLP scanned the complete resource or a sampled subset.
**Returns**

- (::Boolean) --- Whether Cloud DLP scanned the complete resource or a sampled subset.

### #info_type

    def info_type() -> ::String

**Returns**

- (::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=

    def info_type=(value) -> ::String

**Parameter**

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

- (::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

    def info_type_count() -> ::Integer

**Returns**

- (::Integer) --- The number of times Cloud DLP found this infoType within this job and resource.

### #info_type_count=

    def info_type_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The number of times Cloud DLP found this infoType within this job and resource.
**Returns**

- (::Integer) --- The number of times Cloud DLP found this infoType within this job and resource.

### #inspect_job

    def inspect_job() -> ::String

**Returns**

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

### #inspect_job=

    def inspect_job=(value) -> ::String

**Parameter**

- **value** (::String) --- Name of the inspection job, for example, `projects/123/locations/europe/dlpJobs/i-8383929`.
**Returns**

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