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

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 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) 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) found, for example, EMAIL_ADDRESS or STREET_ADDRESS.

Returns
Type Description
string

setInfoType

The type of information (or infoType) 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