# Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails (v1.17.0)

1.17.0 (latest) 1.16.1 1.15.2 1.14.0 1.13.0 1.12.1 1.11.0 1.10.0 1.9.1 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.2 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.1 0.12.0 0.11.0 0.10.0 0.9.0 0.8.1 Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails.

Result of a risk analysis operation request.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #categorical_stats_result

    def categorical_stats_result() -> ::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::CategoricalStatsResult

**Returns**

- ([::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::CategoricalStatsResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-AnalyzeDataSourceRiskDetails-CategoricalStatsResult)) --- Categorical stats result


  Note: The following fields are mutually exclusive: `categorical_stats_result`, `numerical_stats_result`, `k_anonymity_result`, `l_diversity_result`, `k_map_estimation_result`, `delta_presence_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #categorical_stats_result=

    def categorical_stats_result=(value) -> ::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::CategoricalStatsResult

**Parameter**

- **value** ([::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::CategoricalStatsResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-AnalyzeDataSourceRiskDetails-CategoricalStatsResult)) --- Categorical stats result


  Note: The following fields are mutually exclusive: `categorical_stats_result`, `numerical_stats_result`, `k_anonymity_result`, `l_diversity_result`, `k_map_estimation_result`, `delta_presence_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::CategoricalStatsResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-AnalyzeDataSourceRiskDetails-CategoricalStatsResult)) --- Categorical stats result


  Note: The following fields are mutually exclusive: `categorical_stats_result`, `numerical_stats_result`, `k_anonymity_result`, `l_diversity_result`, `k_map_estimation_result`, `delta_presence_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #delta_presence_estimation_result

    def delta_presence_estimation_result() -> ::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult

**Returns**

- ([::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-AnalyzeDataSourceRiskDetails-DeltaPresenceEstimationResult)) --- Delta-presence result


  Note: The following fields are mutually exclusive: `delta_presence_estimation_result`, `numerical_stats_result`, `categorical_stats_result`, `k_anonymity_result`, `l_diversity_result`, `k_map_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #delta_presence_estimation_result=

    def delta_presence_estimation_result=(value) -> ::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult

**Parameter**

- **value** ([::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-AnalyzeDataSourceRiskDetails-DeltaPresenceEstimationResult)) --- Delta-presence result


  Note: The following fields are mutually exclusive: `delta_presence_estimation_result`, `numerical_stats_result`, `categorical_stats_result`, `k_anonymity_result`, `l_diversity_result`, `k_map_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-AnalyzeDataSourceRiskDetails-DeltaPresenceEstimationResult)) --- Delta-presence result


  Note: The following fields are mutually exclusive: `delta_presence_estimation_result`, `numerical_stats_result`, `categorical_stats_result`, `k_anonymity_result`, `l_diversity_result`, `k_map_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #k_anonymity_result

    def k_anonymity_result() -> ::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KAnonymityResult

**Returns**

- ([::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KAnonymityResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-AnalyzeDataSourceRiskDetails-KAnonymityResult)) --- K-anonymity result


  Note: The following fields are mutually exclusive: `k_anonymity_result`, `numerical_stats_result`, `categorical_stats_result`, `l_diversity_result`, `k_map_estimation_result`, `delta_presence_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #k_anonymity_result=

    def k_anonymity_result=(value) -> ::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KAnonymityResult

**Parameter**

- **value** ([::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KAnonymityResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-AnalyzeDataSourceRiskDetails-KAnonymityResult)) --- K-anonymity result


  Note: The following fields are mutually exclusive: `k_anonymity_result`, `numerical_stats_result`, `categorical_stats_result`, `l_diversity_result`, `k_map_estimation_result`, `delta_presence_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KAnonymityResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-AnalyzeDataSourceRiskDetails-KAnonymityResult)) --- K-anonymity result


  Note: The following fields are mutually exclusive: `k_anonymity_result`, `numerical_stats_result`, `categorical_stats_result`, `l_diversity_result`, `k_map_estimation_result`, `delta_presence_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #k_map_estimation_result

    def k_map_estimation_result() -> ::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KMapEstimationResult

**Returns**

- ([::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KMapEstimationResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-AnalyzeDataSourceRiskDetails-KMapEstimationResult)) --- K-map result


  Note: The following fields are mutually exclusive: `k_map_estimation_result`, `numerical_stats_result`, `categorical_stats_result`, `k_anonymity_result`, `l_diversity_result`, `delta_presence_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #k_map_estimation_result=

    def k_map_estimation_result=(value) -> ::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KMapEstimationResult

**Parameter**

- **value** ([::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KMapEstimationResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-AnalyzeDataSourceRiskDetails-KMapEstimationResult)) --- K-map result


  Note: The following fields are mutually exclusive: `k_map_estimation_result`, `numerical_stats_result`, `categorical_stats_result`, `k_anonymity_result`, `l_diversity_result`, `delta_presence_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::KMapEstimationResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-AnalyzeDataSourceRiskDetails-KMapEstimationResult)) --- K-map result


  Note: The following fields are mutually exclusive: `k_map_estimation_result`, `numerical_stats_result`, `categorical_stats_result`, `k_anonymity_result`, `l_diversity_result`, `delta_presence_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #l_diversity_result

    def l_diversity_result() -> ::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::LDiversityResult

**Returns**

- ([::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::LDiversityResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-AnalyzeDataSourceRiskDetails-LDiversityResult)) --- L-divesity result


  Note: The following fields are mutually exclusive: `l_diversity_result`, `numerical_stats_result`, `categorical_stats_result`, `k_anonymity_result`, `k_map_estimation_result`, `delta_presence_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #l_diversity_result=

    def l_diversity_result=(value) -> ::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::LDiversityResult

**Parameter**

- **value** ([::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::LDiversityResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-AnalyzeDataSourceRiskDetails-LDiversityResult)) --- L-divesity result


  Note: The following fields are mutually exclusive: `l_diversity_result`, `numerical_stats_result`, `categorical_stats_result`, `k_anonymity_result`, `k_map_estimation_result`, `delta_presence_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::LDiversityResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-AnalyzeDataSourceRiskDetails-LDiversityResult)) --- L-divesity result


  Note: The following fields are mutually exclusive: `l_diversity_result`, `numerical_stats_result`, `categorical_stats_result`, `k_anonymity_result`, `k_map_estimation_result`, `delta_presence_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #numerical_stats_result

    def numerical_stats_result() -> ::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::NumericalStatsResult

**Returns**

- ([::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::NumericalStatsResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-AnalyzeDataSourceRiskDetails-NumericalStatsResult)) --- Numerical stats result


  Note: The following fields are mutually exclusive: `numerical_stats_result`, `categorical_stats_result`, `k_anonymity_result`, `l_diversity_result`, `k_map_estimation_result`, `delta_presence_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #numerical_stats_result=

    def numerical_stats_result=(value) -> ::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::NumericalStatsResult

**Parameter**

- **value** ([::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::NumericalStatsResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-AnalyzeDataSourceRiskDetails-NumericalStatsResult)) --- Numerical stats result


  Note: The following fields are mutually exclusive: `numerical_stats_result`, `categorical_stats_result`, `k_anonymity_result`, `l_diversity_result`, `k_map_estimation_result`, `delta_presence_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::NumericalStatsResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-AnalyzeDataSourceRiskDetails-NumericalStatsResult)) --- Numerical stats result


  Note: The following fields are mutually exclusive: `numerical_stats_result`, `categorical_stats_result`, `k_anonymity_result`, `l_diversity_result`, `k_map_estimation_result`, `delta_presence_estimation_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #requested_options

    def requested_options() -> ::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::RequestedRiskAnalysisOptions

**Returns**

- ([::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::RequestedRiskAnalysisOptions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-AnalyzeDataSourceRiskDetails-RequestedRiskAnalysisOptions)) --- The configuration used for this job.

### #requested_options=

    def requested_options=(value) -> ::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::RequestedRiskAnalysisOptions

**Parameter**

- **value** ([::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::RequestedRiskAnalysisOptions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-AnalyzeDataSourceRiskDetails-RequestedRiskAnalysisOptions)) --- The configuration used for this job.
**Returns**

- ([::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::RequestedRiskAnalysisOptions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-AnalyzeDataSourceRiskDetails-RequestedRiskAnalysisOptions)) --- The configuration used for this job.

### #requested_privacy_metric

    def requested_privacy_metric() -> ::Google::Cloud::Dlp::V2::PrivacyMetric

**Returns**

- ([::Google::Cloud::Dlp::V2::PrivacyMetric](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-PrivacyMetric)) --- Privacy metric to compute.

### #requested_privacy_metric=

    def requested_privacy_metric=(value) -> ::Google::Cloud::Dlp::V2::PrivacyMetric

**Parameter**

- **value** ([::Google::Cloud::Dlp::V2::PrivacyMetric](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-PrivacyMetric)) --- Privacy metric to compute.
**Returns**

- ([::Google::Cloud::Dlp::V2::PrivacyMetric](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-PrivacyMetric)) --- Privacy metric to compute.

### #requested_source_table

    def requested_source_table() -> ::Google::Cloud::Dlp::V2::BigQueryTable

**Returns**

- ([::Google::Cloud::Dlp::V2::BigQueryTable](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-BigQueryTable)) --- Input dataset to compute metrics over.

### #requested_source_table=

    def requested_source_table=(value) -> ::Google::Cloud::Dlp::V2::BigQueryTable

**Parameter**

- **value** ([::Google::Cloud::Dlp::V2::BigQueryTable](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-BigQueryTable)) --- Input dataset to compute metrics over.
**Returns**

- ([::Google::Cloud::Dlp::V2::BigQueryTable](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dlp-v2/latest/Google-Cloud-Dlp-V2-BigQueryTable)) --- Input dataset to compute metrics over.