Data Loss Prevention V2 Client - Class AnalyzeDataSourceRiskDetails (1.15.1)

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

Result of a risk analysis operation request.

Generated from protobuf message google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ requested_privacy_metric Google\Cloud\Dlp\V2\PrivacyMetric

Privacy metric to compute.

↳ requested_source_table Google\Cloud\Dlp\V2\BigQueryTable

Input dataset to compute metrics over.

↳ numerical_stats_result Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\NumericalStatsResult

Numerical stats result

↳ categorical_stats_result Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\CategoricalStatsResult

Categorical stats result

↳ k_anonymity_result Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KAnonymityResult

K-anonymity result

↳ l_diversity_result Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\LDiversityResult

L-divesity result

↳ k_map_estimation_result Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KMapEstimationResult

K-map result

↳ delta_presence_estimation_result Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\DeltaPresenceEstimationResult

Delta-presence result

↳ requested_options Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\RequestedRiskAnalysisOptions

The configuration used for this job.

getRequestedPrivacyMetric

Privacy metric to compute.

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

hasRequestedPrivacyMetric

clearRequestedPrivacyMetric

setRequestedPrivacyMetric

Privacy metric to compute.

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

getRequestedSourceTable

Input dataset to compute metrics over.

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

hasRequestedSourceTable

clearRequestedSourceTable

setRequestedSourceTable

Input dataset to compute metrics over.

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

getNumericalStatsResult

Numerical stats result

Returns
Type Description
Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\NumericalStatsResult|null

hasNumericalStatsResult

setNumericalStatsResult

Numerical stats result

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

getCategoricalStatsResult

Categorical stats result

Returns
Type Description
Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\CategoricalStatsResult|null

hasCategoricalStatsResult

setCategoricalStatsResult

Categorical stats result

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

getKAnonymityResult

K-anonymity result

Returns
Type Description
Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KAnonymityResult|null

hasKAnonymityResult

setKAnonymityResult

K-anonymity result

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

getLDiversityResult

L-divesity result

Returns
Type Description
Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\LDiversityResult|null

hasLDiversityResult

setLDiversityResult

L-divesity result

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

getKMapEstimationResult

K-map result

Returns
Type Description
Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KMapEstimationResult|null

hasKMapEstimationResult

setKMapEstimationResult

K-map result

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

getDeltaPresenceEstimationResult

Delta-presence result

Returns
Type Description
Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\DeltaPresenceEstimationResult|null

hasDeltaPresenceEstimationResult

setDeltaPresenceEstimationResult

Delta-presence result

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

getRequestedOptions

The configuration used for this job.

Returns
Type Description
Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\RequestedRiskAnalysisOptions|null

hasRequestedOptions

clearRequestedOptions

setRequestedOptions

The configuration used for this job.

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

getResult

Returns
Type Description
string