Google Cloud Security Command Center V1 Client - Class CloudDlpInspection (1.16.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
NameDescription
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 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
TypeDescription
string

setInspectJob

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInfoType

The type of information found, for example, EMAIL_ADDRESS or STREET_ADDRESS.

Returns
TypeDescription
string

setInfoType

The type of information found, for example, EMAIL_ADDRESS or STREET_ADDRESS.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInfoTypeCount

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

Returns
TypeDescription
int|string

setInfoTypeCount

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

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getFullScan

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

Returns
TypeDescription
bool

setFullScan

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this