Data Loss Prevention V2 Client - Class Result (1.15.1)

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
Name Description
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.

↳ num_rows_processed int|string

Number of rows scanned after sampling and time filtering (applicable for row based stores such as BigQuery).

↳ hybrid_stats Google\Cloud\Dlp\V2\HybridInspectStatistics

Statistics related to the processing of hybrid inspect.

getProcessedBytes

Total size in bytes that were processed.

Returns
Type Description
int|string

setProcessedBytes

Total size in bytes that were processed.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getTotalEstimatedBytes

Estimate of the number of bytes to process.

Returns
Type Description
int|string

setTotalEstimatedBytes

Estimate of the number of bytes to process.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getInfoTypeStats

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setInfoTypeStats

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

Parameter
Name Description
var array<Google\Cloud\Dlp\V2\InfoTypeStats>
Returns
Type Description
$this

getNumRowsProcessed

Number of rows scanned after sampling and time filtering (applicable for row based stores such as BigQuery).

Returns
Type Description
int|string

setNumRowsProcessed

Number of rows scanned after sampling and time filtering (applicable for row based stores such as BigQuery).

Parameter
Name Description
var int|string
Returns
Type Description
$this

getHybridStats

Statistics related to the processing of hybrid inspect.

Returns
Type Description
Google\Cloud\Dlp\V2\HybridInspectStatistics|null

hasHybridStats

clearHybridStats

setHybridStats

Statistics related to the processing of hybrid inspect.

Parameter
Name Description
var Google\Cloud\Dlp\V2\HybridInspectStatistics
Returns
Type Description
$this