Data Loss Prevention V2 Client - Class Result (1.11.0)

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.

↳ 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

setInfoTypeStats

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

Parameter
Name
Description
Returns
Type
Description
$this

getHybridStats

Statistics related to the processing of hybrid inspect.

Returns
Type
Description

hasHybridStats

clearHybridStats

setHybridStats

Statistics related to the processing of hybrid inspect.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: