Class: Google::Apis::DlpV2::GooglePrivacyDlpV2NumericalStatsResult

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

Overview

Result of the numerical stats computation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2NumericalStatsResult

Returns a new instance of GooglePrivacyDlpV2NumericalStatsResult.



7307
7308
7309
# File 'lib/google/apis/dlp_v2/classes.rb', line 7307

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

Instance Attribute Details

#max_valueGoogle::Apis::DlpV2::GooglePrivacyDlpV2Value

Set of primitive values supported by the system. Note that for the purposes of inspection or transformation, the number of bytes considered to comprise a ' Value' is based on its representation as a UTF-8 encoded string. For example, if 'integer_value' is set to 123456789, the number of bytes would be counted as 9, even though an int64 only holds up to 8 bytes of data. Corresponds to the JSON property maxValue



7290
7291
7292
# File 'lib/google/apis/dlp_v2/classes.rb', line 7290

def max_value
  @max_value
end

#min_valueGoogle::Apis::DlpV2::GooglePrivacyDlpV2Value

Set of primitive values supported by the system. Note that for the purposes of inspection or transformation, the number of bytes considered to comprise a ' Value' is based on its representation as a UTF-8 encoded string. For example, if 'integer_value' is set to 123456789, the number of bytes would be counted as 9, even though an int64 only holds up to 8 bytes of data. Corresponds to the JSON property minValue



7299
7300
7301
# File 'lib/google/apis/dlp_v2/classes.rb', line 7299

def min_value
  @min_value
end

#quantile_valuesArray<Google::Apis::DlpV2::GooglePrivacyDlpV2Value>

List of 99 values that partition the set of field values into 100 equal sized buckets. Corresponds to the JSON property quantileValues



7305
7306
7307
# File 'lib/google/apis/dlp_v2/classes.rb', line 7305

def quantile_values
  @quantile_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7312
7313
7314
7315
7316
# File 'lib/google/apis/dlp_v2/classes.rb', line 7312

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