Data Loss Prevention V2 Client - Class Result (1.10.2)

Reference documentation and code samples for the Data Loss Prevention V2 Client class Result.

All result fields mentioned below 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
NameDescription
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<Google\Cloud\Dlp\V2\InfoTypeStats>

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

↳ hybrid_stats Google\Cloud\Dlp\V2\HybridInspectStatistics

Statistics related to the processing of hybrid inspect.

getProcessedBytes

Total size in bytes that were processed.

Returns
TypeDescription
int|string

setProcessedBytes

Total size in bytes that were processed.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getTotalEstimatedBytes

Estimate of the number of bytes to process.

Returns
TypeDescription
int|string

setTotalEstimatedBytes

Estimate of the number of bytes to process.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getInfoTypeStats

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInfoTypeStats

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

Parameter
NameDescription
var array<Google\Cloud\Dlp\V2\InfoTypeStats>
Returns
TypeDescription
$this

getHybridStats

Statistics related to the processing of hybrid inspect.

Returns
TypeDescription
Google\Cloud\Dlp\V2\HybridInspectStatistics|null

hasHybridStats

clearHybridStats

setHybridStats

Statistics related to the processing of hybrid inspect.

Parameter
NameDescription
var Google\Cloud\Dlp\V2\HybridInspectStatistics
Returns
TypeDescription
$this