Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationResult

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/representations.rb

Overview

Result of the δ-presence computation. Note that these results are an estimation, not exact values.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2DeltaPresenceEstimationResult

Returns a new instance of GooglePrivacyDlpV2DeltaPresenceEstimationResult.



2078
2079
2080
# File 'generated/google/apis/dlp_v2/classes.rb', line 2078

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#delta_presence_estimation_histogramArray<Google::Apis::DlpV2::GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket>

The intervals [min_probability, max_probability) do not overlap. If a value doesn't correspond to any such interval, the associated frequency is zero. For example, the following records: min_probability: 0, max_probability: 0.1, frequency: 17 min_probability: 0.2, max_probability: 0.3, frequency: 42 min_probability: 0.3, max_probability: 0.4, frequency: 99 mean that there are no record with an estimated probability in [0.1, 0.2) nor larger or equal to 0.4. Corresponds to the JSON property deltaPresenceEstimationHistogram



2076
2077
2078
# File 'generated/google/apis/dlp_v2/classes.rb', line 2076

def delta_presence_estimation_histogram
  @delta_presence_estimation_histogram
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2083
2084
2085
# File 'generated/google/apis/dlp_v2/classes.rb', line 2083

def update!(**args)
  @delta_presence_estimation_histogram = args[:delta_presence_estimation_histogram] if args.key?(:delta_presence_estimation_histogram)
end