Data Loss Prevention V2 Client - Class AnalyzeDataSourceRiskDetails (1.11.0)

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
NameDescription
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
TypeDescription
Google\Cloud\Dlp\V2\PrivacyMetric|null

hasRequestedPrivacyMetric

clearRequestedPrivacyMetric

setRequestedPrivacyMetric

Privacy metric to compute.

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

getRequestedSourceTable

Input dataset to compute metrics over.

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

hasRequestedSourceTable

clearRequestedSourceTable

setRequestedSourceTable

Input dataset to compute metrics over.

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

getNumericalStatsResult

Numerical stats result

Returns
TypeDescription
Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\NumericalStatsResult|null

hasNumericalStatsResult

setNumericalStatsResult

Numerical stats result

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

getCategoricalStatsResult

Categorical stats result

Returns
TypeDescription
Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\CategoricalStatsResult|null

hasCategoricalStatsResult

setCategoricalStatsResult

Categorical stats result

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

getKAnonymityResult

K-anonymity result

Returns
TypeDescription
Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KAnonymityResult|null

hasKAnonymityResult

setKAnonymityResult

K-anonymity result

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

getLDiversityResult

L-divesity result

Returns
TypeDescription
Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\LDiversityResult|null

hasLDiversityResult

setLDiversityResult

L-divesity result

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

getKMapEstimationResult

K-map result

Returns
TypeDescription
Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KMapEstimationResult|null

hasKMapEstimationResult

setKMapEstimationResult

K-map result

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

getDeltaPresenceEstimationResult

Delta-presence result

Returns
TypeDescription
Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\DeltaPresenceEstimationResult|null

hasDeltaPresenceEstimationResult

setDeltaPresenceEstimationResult

Delta-presence result

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

getRequestedOptions

The configuration used for this job.

Returns
TypeDescription
Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\RequestedRiskAnalysisOptions|null

hasRequestedOptions

clearRequestedOptions

setRequestedOptions

The configuration used for this job.

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

getResult

Returns
TypeDescription
string